dekkerglen / CubeCobra

An open source web application for building, managing, and playtesting Magic the Gathering cubes.
https://www.cubecobra.com
Apache License 2.0
193 stars 120 forks source link

Support special characters in autocomplete #2431

Closed adrianbw closed 11 months ago

adrianbw commented 11 months ago

The autocomplete widget won't match a card name like Lórien Revealed. This PR fixes that. It also renames the normalizeName function in the API route, because I realized it conflicted with an export.

Finally, auto-fix did some stuff in AutocompleteInput.js.

Video:

https://github.com/dekkerglen/CubeCobra/assets/12662580/de624313-8438-40c9-b6da-eb38faf538fe