pkmntrade.club/seed
badbl0cks ecb060af6d
feat(cards): Refactor card styling and implement JS multiselect
Refactors card styling by moving color data to the `CardSet` model, removing the `Card.style` and `Pack.hex_color` fields.

- Adds `hex_color` to `CardSet` and a `CardSetColorMapping` model to populate it during import.
- Card importer now uses correct filename regexes to identify sets and apply color mappings.
- Card badge styling is now derived from the `CardSet`'s color, simplifying the data model.

Replaces the old clunky card multiselect with a dynamic Alpine.js component for an improved user experience.

- Introduces an API endpoint (`cards/api/search/`) for asynchronous searching.
- Provides a modern search-as-you-type interface with a `<noscript>` fallback.
2025-06-20 00:30:03 -07:00
..
0001_Site.json Refactor database models to majorly increase queries needed and decrease load times of home from 30 secs to 5 sec (we will be caching the rest to decrease even further via background tasks) 2025-03-17 14:08:01 -07:00
0002_RarityMappings.json refactor(db): update cursor rules and enhance deployment rollback script 2025-06-19 15:42:36 -07:00
0003_CardSetColorMappings.json feat(cards): Refactor card styling and implement JS multiselect 2025-06-20 00:30:03 -07:00