Vorratsschrank - Kategorie per Steuer-Barcode in der Scan-Station vorgeben + druckbarer Bogen mit allen Steuer-Codes #222
Labels
No labels
priority/could
priority/must
priority/should
priority/wont
status/blocked
status/claimed
status/done-migrated
type/bug
type/feature
type/infra
type/tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robert/todo#222
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Story: Kategorie per Steuer-Barcode beim Scannen setzen (Scan-Station)
As a Nutzer, der den Wocheneinkauf mit dem Hardware-Scanner in den Vorratsschrank eincheckt,
I want to vor den Produkten optional einen Kategorie-Barcode (z. B. "Kühlregal") scannen, der für alle folgenden Scans gilt,
so that ich die Kategorien direkt beim Einräumen setze und nicht hinterher am Laptop nachpflegen muss.
Kontext (verifiziert im Code):
PantryScanStationPage.tsx) kennt bereits zwei Steuer-Barcodes:999000001= ab jetzt einchecken,999000002= ab jetzt auschecken. Sie sind neunstellig und bestehen nur aus Ziffern, damit sie nicht mit EAN-8/UPC-A/EAN-13 kollidieren und auf jedem Tastaturlayout funktionieren.FallbackCategoryId, #190).Acceptance criteria:
999000001/999000002) für:ShoppingListDefaultSections). Bestehende Listen behalten eine vorhandene "Aufstriche"-Kategorie unverändert - nichts wird bei Nutzern gelöscht.Entscheidungen (vom Menschen, 2026-09-29):
Claimed by the autonomous loop (2026-09-29). Starting: Architect design -> backend (category-by-name on pantry barcode scan, move known products, drop Aufstriche from defaults) -> frontend (category control codes in the scan station, activity entries, printable code sheet) -> tests.
Done - landed on master, see commits
feat(#222): scan check-in can force a category by name, drop Aufstriche from defaultsandfeat(#222): category control codes in the scan station + printable code sheet(tipbed4ae69, CI green incl. e2e and docker).Scope delivered
999100000= Keine Kategorie,999100001-999100014= the 14 default categories (Obst & Gemuese ... Bioladen, no Aufstriche). Existing999000001/999000002unchanged. Prio B: a list's own categories get9992+ 5-digit category id (ids above 99999 are left off the sheet)./pantry/<id>/scan-codes(printer button in the station header): every code as Code 128 with label, digits and a large symbol, A4 print rules that print only the sheet (2 pages).Tests
Key decisions
Note: the assignee could not be set from this session (permission), the claim was marked via the status/claimed label and the start comment.