Draft Deck Feature Implementation#339
Open
Lucalaure wants to merge 10 commits intoarkham-build:mainfrom
Open
Conversation
- Deckbuilding restrictions can now be updated based on the cards you add to the deck - Changed the draft-setup to mirror the same config setup for normal decks - Added ability to select parallel versions of investigators before the draft - Added ability to name deck before starting draft - Added ability to select a taboo list for the draft - Added ability to select a specific card pool
- Added draft field/tag to decks - Added upgrade functionality to draft decks - Updated Upgrade Modal to work with draft decks
- Added new custom component to view and add customizable option to the draft card pool (using cutomizable-sheets) - During an upgrade draft, for each legal customizable card an investigator could add to their deck, a random legal customizable option will be added to the card pool - If the user picks this customizable option, a copy of the customizable card will be added to their if possible - Refactored some frontend logic to ensure that these upgrades can be viewed from the deck preview while upgrading
- Added signature picking in draft setup page - Added functionality to add 1 copy or 3 copies of a myriad card - Added functionality for customizable number skips while drafting - Make cards per draft a slider - UI/UX fixes with customizable sheet component
- Reset number of skips used when restarting draft - Added functionality for adding "Researched" cards to the upgrade pool of cards
Author
|
03c4a28 to
d2843c2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces a comprehensive draft deck feature to arkham.build, allowing users to create and upgrade draft decks with extensive customization options. The feature includes support for customizable cards, researched cards, parallel investigators, taboo lists, card pools, and sealed deck formats.
Key Features
🎲 Draft Setup & Configuration
🔄 Upgrade Functionality
🎴 Advanced Card Support
🎨 UI/UX Improvements
Technical Implementation
New Components
deck-draft.tsx- Main draft deck page (850+ lines)draft-setup-editor.tsx- Draft configuration interface (352 lines)draft-editor.tsx- Draft editing interface (175 lines)draft-picker.tsx- Card selection component (301 lines)customization-upgrade-card.tsx- Customizable card upgrade handling (220 lines)State Management
draftslice in Redux store (1000+ lines)Metadata Extensions
meta.is_draft- Marks decks created via draftmeta.draft- Draft-specific metadata storageFiles Changed
Migration Notes
meta.is_draftflag