Add unified Deck Browser for home and deck editor#10636
Add unified Deck Browser for home and deck editor#10636Madwand99 wants to merge 3 commits intoCard-Forge:masterfrom
Conversation
|
well this is huge... can you spin off the |
Yeah it's kept me pretty busy. And sure, will try that and see how it looks. |
|
@Madwand99 currently the "format" of a deck (constructed/commander/oathbreaker) etc is determined by which deck browser panel you have open at the time the deck is created, so you have to be in the commander tab when you create your deck or else it doesn't get a command zone. How does this work in your PR if we're collapsing those different browser panels into a general purpose one? i.e. how do you assign your deck to commander format here? (FWIW I think the current "open format tab first, then create deck" approach is highly unintuitive hence #10517 - so I've got nothing against a unified approach, just want to make sure we don't lose functionality along the way). |
@MostCromulent In the editor, the new Deck Browser is not just a passive file list. Navigating into a real format folder updates the Current Deck section’s active deck type. So entering the commander folder switches the editor to Commander handling, and new/saved decks from there get the command zone as expected. The browser is general-purpose UI, but the selected real folder still provides the format context. |
This branch adds a shared Deck Browser experience for the desktop Home tab and Deck Editor.
Major changes:
Validation:
mvn -pl forge-gui-desktop -am -DskipTests compile passes.