chore: Remove tournament mode feature and its associated UI from the Cube Manager, simplifying pack display.
This commit is contained in:
@@ -7,6 +7,7 @@ The project has successfully migrated from a .NET backend to a Node.js Modular M
|
||||
- **[2025-12-14] Core Implementation**: Refactored `gemini-generated.js` into modular services and components. Implemented Cube Manager and Tournament Manager. [Link](./devlog/2025-12-14-194558_core_implementation.md)
|
||||
- **[2025-12-14] Parser Robustness**: Improving `CardParserService` to handle formats without Scryfall IDs (e.g., Arena exports). [Link](./devlog/2025-12-14-210000_fix_parser_robustness.md)
|
||||
- **[2025-12-14] Set Generation**: Implemented full set fetching and booster box generation (Completed). [Link](./devlog/2025-12-14-211000_set_based_generation.md)
|
||||
- **[2025-12-14] Cleanup**: Removed Tournament Mode and simplified pack display as requested. [Link](./devlog/2025-12-14-211500_remove_tournament_mode.md)
|
||||
|
||||
## Active Modules
|
||||
1. **Cube Manager**: Fully functional (Parsing, Fetching, Pack Generation).
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Cleanup: Remove Tournament Mode
|
||||
|
||||
## Status: Completed
|
||||
|
||||
## Summary
|
||||
Removed the "Tournament Mode" view and "Editor Mode" toggle from the Cube Manager. The user requested a simplified interface that lists packs without grouping them into "Boxes".
|
||||
|
||||
## Changes
|
||||
1. **CubeManager.tsx**:
|
||||
* Removed `tournamentMode` state and setter.
|
||||
* Removed usage of `TournamentPackView` component.
|
||||
* Removed the "Tournament Mode / Editor Mode" toggle button.
|
||||
* Simplified rendering to always show the pack list (grid/list/stack view) directly.
|
||||
* Removed unsused `TournamentPackView` import and icon imports.
|
||||
|
||||
## Impact
|
||||
* The UI is now streamlined for the "Host" to just see generated packs.
|
||||
* The `TournamentPackView` component is no longer used but file remains for now.
|
||||
Reference in New Issue
Block a user