card-grader/static
Barely Removable 2b3bbaf40f Add a structured authenticity signal with a distinct banner, instead of burying it in card_note
The Charizard grade that prompted this had the model writing 'possible
non-standard/proxy print' directly into card_note -- the only free-text
field available -- since there was nowhere else for that observation to go.
That's why it got no visual treatment: the UI renders card_note as a plain
grey subtitle, identical to any ordinary card name.

Added authenticity as its own top-level field (flag: none/worth_checking/
likely_not_genuine, plus an observation) alongside the four grading
categories but explicitly separate from them -- this is about whether the
card is a genuine product at all, not its condition, and PSA authenticates
before it grades, so a flagged card's estimated_grade goes to null rather
than a number.

Prompted with concrete tells for both classes of concern: fan-made/proxy
prints (fictional sets, non-existent number combos, home-printer texture,
'proxy' watermarks) and counterfeits of real cards (colour/font/holo
mismatches against genuine copies). Trimming (already covered under CORNERS
from an earlier fix) now also sets this field when flagged, so the UI has
one place to check regardless of which specific issue triggered it.

UI: a full banner (not a hint line) above the slab -- critical red for
likely_not_genuine, warning amber for worth_checking -- plus a matching dot
next to the card name in History so it's visible without opening the card.
Both colours reuse --critical/--warning rather than the brand red, since
this is exactly the 'distrust this' signal those are already reserved for.

Migration tested against the live schema shape; existing rows get
authenticity=None and render with no banner, as before.
2026-08-23 08:19:58 -07:00
..
app.js Add a structured authenticity signal with a distinct banner, instead of burying it in card_note 2026-08-23 08:19:58 -07:00
icon-180.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon-192.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon-512-maskable.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon-512.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon.svg Full PSA palette: light silver ground, brand red accent, dark text 2026-08-22 12:41:53 -07:00
index.html Track grading spend per user 2026-08-22 17:17:14 -07:00
manifest.json Full PSA palette: light silver ground, brand red accent, dark text 2026-08-22 12:41:53 -07:00
style.css Add a structured authenticity signal with a distinct banner, instead of burying it in card_note 2026-08-23 08:19:58 -07:00
sw.js Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00