1.1 KiB
1.1 KiB
Multi-Expansion Selection
Objective
Enhanced the "From Expansion" pack generation feature in the Cube Manager to allow users to select multiple expansions and use a searchable interface.
Implementation Details
- Searchable Interface: Replaced the simple set dropdown with a dedicated set selection UI featuring a search input for fuzzy filtering by set name or code.
- Multi-Select Capability: Users can now check multiple sets from the filtered list.
- Frontend State Refactor: Migrated
selectedSet(string) toselectedSets(string array) inCubeManager.tsx. - Fetch Logic Update: Updated
fetchAndParseto iterate through all selected sets, fetching card data for each sequentially and combining the results into the parse pool. - Generation Logic: The existing
generateBoosterBoxlogic now naturally consumes the combined pool of cards from multiple sets, effectively allowing for "Chaos Drafts" or custom mixed-set environments based on the user's selection.
Status
Completed. The Cube Manager UI now supports advanced set selection scenarios.