Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Collection and Editor #102

Closed
eviterin opened this issue Jan 14, 2024 · 1 comment
Closed

Merge Collection and Editor #102

eviterin opened this issue Jan 14, 2024 · 1 comment

Comments

@eviterin
Copy link
Collaborator

Both the Collection and Editor views are similar in terms of design and functionality. They both feature a search and filter section on the left, a display of cards in the center, and a column to the right. The right column differs between the two: in Collection View, it shows all the player's decks, while in the Editor, it displays the cards in the deck being built.

Right now, we're redirecting the player between the two pages.
From Collection to Editor when either "New Deck" or an existing deck is clicked.
From Editor to Collection when either the deck save or discard button is clicked.

Instead of redirecting the player, we should just have the right column change.

This is done when:

  • The editor is merged into the collection file.
  • When the deck list has been refactored into its own component.
  • When the card list has been refactored into its own component.
@eviterin
Copy link
Collaborator Author

eviterin commented Mar 2, 2024

Done as of PR #108

@eviterin eviterin closed this as completed Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant