Skip to content

feat: real-time price integration for card grading#44

Closed
poketonova wants to merge 1 commit into
novaoc:mainfrom
poketonova:feature/card-grading-integration
Closed

feat: real-time price integration for card grading#44
poketonova wants to merge 1 commit into
novaoc:mainfrom
poketonova:feature/card-grading-integration

Conversation

@poketonova

Copy link
Copy Markdown
Collaborator

This PR implements the "Card Grading Integration" feature by allowing users to fetch real-time market pricing from PriceCharting directly while adding a graded slab to their portfolio.

Key Changes:

  • Direct Integration: Added a "Fetch Market Price" section to the AddItemModal when the "Graded Slab" type is selected.
  • Smart Pre-population: The search query is automatically constructed using the card name and set name to reduce manual typing.
  • Immediate Valuation: Users can see the current market price for their specific grade and apply it to the item with one click before saving.
  • Service Reuse: Leverages the existing priceServer service and fetchPrice utility for consistent data across the app.

This improvement reduces friction for collectors who track graded items and ensures more accurate portfolio valuations from the moment an item is added.

- Added PriceCharting price fetching for graded items during the addition process
- Automatically pre-populates search query based on card and set name
- Allows users to apply fetched market prices directly to the new item
- Streamlines the workflow for adding graded slabs to the portfolio
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

@poketonova is attempting to deploy a commit to the novaoc's projects Team on Vercel.

A member of the Team first needs to authorize it.

poketonova added a commit that referenced this pull request Jul 18, 2026
… fetch (#53)

- Dashboard: New Releases section (latest 4 Pokémon sets, newest-first
  from the cached getSets feed) with a Pokémon scope label and honest
  loading copy. Cards deep-link to /sets/pokemon?set=<id>, which
  SetsView now honors by opening the set directly — the bot PR linked
  to /sets?set=<id>, a query param nothing consumed (from #49)
- More sheet: Share Rarebox (Web Share API, collector-voice copy) and
  Terms & Privacy link (from #35, with copy tweak)
- AddItemModal: PriceCharting price fetch for graded Pokémon cards,
  with full fetchPrice error mapping and grade-change invalidation.
  Scoped to Pokémon so non-Pokémon graded items keep the existing
  generic section instead of getting duplicate search/value inputs;
  single always-visible value input, editable after Apply (from #44)

Co-authored-by: novaoc <novaoc@users.noreply.github.com>
@poketonova

Copy link
Copy Markdown
Collaborator Author

Superseded by #53 (merged), which reimplements this change cleanly from current main (with the fixes noted in review). Closing.

@poketonova poketonova closed this Jul 18, 2026
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