Add toggle to exclude invalid cards from listing when deckbuilding

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
frontend

Research direction

Start by locating the option store, the card-listing fetch entry point, and the deckbuilder type-option controls. Trace how deckbuilder mode is detected and how listing query parameters are assembled. Done means the setting persists locally, filters invalid cards only in deckbuilder mode, and keeps the relevant type controls disabled or deselected as specified.

Written by the indexing model from the issue text.

Description

good first issue help wanted

We desperately need a toggle that will exclude cards from the card listing when the deckbuilder is open. Needs:

  • Persist the value locally via the option store
  • When the toggle is truthy, use mode=deckbuilder and include_uniques_for=Phoenixborn%20Name when fetching card listings to ensure that we don't get any conjurations, Phoenixborn, or other PB uniques
  • When the toggle is truthy, disable and deselect the type options for conjurations (and Phoenixborn? If so, need to figure out how to allow access to this when they want to swap the PB)
  • Don't show the toggle (or use its setting) when deckbuilder mode is not active
Dominant language
Vue
Stars
10
Forks
14
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from onecrayon/ashes.live

All issues in onecrayon/ashes.live

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.