Skip to content

feat(collection): condition + language visible where the copies live (E134)#1304

Merged
georgepapagapitos merged 2 commits into
mainfrom
e134-condition-language
Jul 22, 2026
Merged

feat(collection): condition + language visible where the copies live (E134)#1304
georgepapagapitos merged 2 commits into
mainfrom
e134-condition-language

Conversation

@georgepapagapitos

Copy link
Copy Markdown
Owner

Summary

Closes the Collection-UX program's last row (E127–E134). Condition + language were settable at add-time (PrintingPicker) and condition is a first-class filter facet, but no row at any density ever displayed them — a collector tracking LP/damaged copies had to open the edit dialog per card.

  • CardRow meta line (shared by collection + binder list/compact rows) gains deviation chips after CN/page: LP/MP/HP/DMG (full word as title + aria-label, labels from the exported CONDITION_OPTIONS — no third label map) and non-English language names from LANGUAGE_OPTIONS. Norms are unmarked: NM and English render nothing — the dev dataset showed imports stamp nm/en on 11,527 of 11,531 copies, so an always-on chip is noise, not signal. Chips follow CN's density rule (drop <768px in compact, return ≥768px).
  • CardPreview compact header: language span beside the existing condition (non-English only).
  • Symbol Key: new Condition — Near Mint unmarked section with the four real deviation chips, in both collection and binder contexts (binder list rows render the same CardRow chips — glyph-literacy rule requires the Key per surface).
  • STYLE_GUIDE: field budgets updated; detail-when-present / norms-unmarked ruling codified.

Validation

Full gate green (typecheck, eslint+stylelint 0 errors, format, 6,783 tests — new coverage: chip render/absence incl. the NM-unmarked case, DMG abbreviation, language en-vs-ja, CardPreview condition backfill + language, Legend sections per context). Headless-Chromium as dev with seeded LP/DMG+ja/de copies: quiet rows at scale (no NM spam across 11.5k cards), deviation chips render (binder row shows DMG Japanese), preview + Key verified, 360 DPR3 through 1024 light+dark.

…(E134)

Condition and language were settable at add-time and condition is a filter
facet, but no row at any density ever displayed them - a collector tracking
LP/damaged copies had to open the edit dialog per card.

- CardRow meta line gains deviation chips: LP/MP/HP/DMG (full word as
  title/aria) and non-English language names. Norms are unmarked - NM and
  English render nothing (imports stamp nm/en on nearly every copy; an
  always-on chip is noise). Chips follow CN's density rule (return >=768px
  in compact).
- CardPreview compact header gains the language span beside the existing
  condition.
- Symbol Key (collection + binder contexts - binder list rows render the
  same chips) gains 'Condition - Near Mint unmarked' with the four
  deviation chips.
- STYLE_GUIDE: field budgets updated + detail-when-present / norms-unmarked
  ruling. Closes the Collection-UX program (E127-E134).
@georgepapagapitos
georgepapagapitos enabled auto-merge (squash) July 22, 2026 18:59
@georgepapagapitos
georgepapagapitos merged commit 294f58f into main Jul 22, 2026
5 checks passed
@georgepapagapitos
georgepapagapitos deleted the e134-condition-language branch July 22, 2026 19:05
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