Skip to content

fix: use TCGS registry for card counts in settings#45

Open
poketonova wants to merge 1 commit into
mainfrom
dev-agent-improvement-2026-06-30
Open

fix: use TCGS registry for card counts in settings#45
poketonova wants to merge 1 commit into
mainfrom
dev-agent-improvement-2026-06-30

Conversation

@poketonova

Copy link
Copy Markdown
Collaborator

This PR improves the maintainability of the Settings page by removing a hardcoded list of TCGs in cardCache.js and instead using the central TCGS registry from providers.js.

Pro Value:

  • Maintainability: New TCGs added to the TCGS registry will now automatically appear in the Settings card cache list without requiring manual updates to multiple files.
  • Consistency: Ensures the Settings view always reflects the currently supported games as defined in the core provider registry.

This automated contribution ensures that Rarebox's infrastructure remains DRY (Don't Repeat Yourself) as it scales to support more trading card games.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pokemon-collectr Ready Ready Preview, Comment Jun 30, 2026 3:02pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant