printedparts stage 17: gage-lab asset tag + print-files redesign
Some checks failed
CI / backend (push) Successful in 1m45s
CI / naming (push) Successful in 1s
CI / frontend (push) Successful in 8s
CI / migrations-mysql (push) Failing after 8s

The gage lab assigns real WJRP asset numbers, so identity splits: the
internal itemcode stays auto-minted and a new optional unique
gagelabtag (migration 0003) carries the lab's number - settable on
create/edit, searchable, and resolved by the kiosk for scans and bare
keypad digits against the numeric tail of either identifier
(unique-match only). The print-files table becomes stacked revision
cards - filename with rev/current badges, one meta line, delete pinned
right - ending the horizontal scroll in that column.
This commit is contained in:
cproudlock
2026-07-17 14:01:09 -04:00
parent 6160a5142a
commit 3a3dff285e
8 changed files with 185 additions and 52 deletions

View File

@@ -1090,6 +1090,17 @@ failure. Summaries here; complete diffs at the tags.
keypad-driven manual entry (the stage-7 code above is the corrected
version).
- **17 - the gage-lab asset tag** (`lab-stage-17`): the field team assigns
real WJRP asset numbers at the gage lab, so identity split in two: the
internal `itemcode` stays auto-minted (stable, encodes the row id) and a
new optional UNIQUE `gagelabtag` carries the lab's number (migration
0003). Search covers it; the kiosk resolves scans and bare keypad digits
against the numeric tail of EITHER identifier, unique-match only. Lesson:
when the real world already numbers things, model their identifier
alongside yours instead of fighting over one field. Also in this stage:
the print-files table became stacked revision cards after the table
forced horizontal scrolling in its column.
Post-stage polish (untagged commits): the kiosk launches from the sidebar's
"Displays" section (beside Shopfloor Dashboard / TV Slideshow, plugin-gated,
new tab), and the keypad was restyled into a terminal-style panel after the