← All tests

Polishing Work — category create + default cash reasons STAGING

Two items from Narong's Notion "Polishing Work" list (2026-07-17). Verified on lumiere.staging 6/6 + staging smoke 5/5.

#1 + #2 — create a category where you use it. The products table's top-level "+ Category" button is gone; instead the product editor's Category field is now a searchable picker — type to filter, and if it matches nothing, a green "Create '<typed>'" row opens a small popup that creates the category and auto-selects it. (Editing categories via the pencil, and Settings › Categories, are unchanged.) Cloned from the existing attribute combobox.

#6 — default Cash In/Out reasons. The empty Cash Reasons page now offers "Use default reasons" — one click seeds a starter set (Bank deposit, Petty cash, Supplier payment…). Idempotent: re-running never duplicates. Mirrors the n7 default-categories pattern.

#1 + #2 — inline category creation

products table without +Category
Products table — no more "+ Category" button.
category combobox in product editor
Product editor — Category is now a searchable picker.
new category created and selected
Type a new name → Create → it's created & auto-selected.

#6 — default cash reasons

empty cash reasons with CTA
Empty state offers "Use default reasons".
seeded cash reasons
One click seeds the starter set.

Checks (lumiere.staging, Starter)

Products table no longer shows "+ Category"pass
Product editor category field is the searchable comboboxpass
Type new name → Create → persists + auto-selects (optimistic, survives cold-worker refresh)pass
Empty Cash Reasons → "Use default reasons" seeds the 8-item setpass
Re-seeding is idempotent (no duplicates)pass
Staging smoke5/5

nix-cafe staging f539dff. No migration. Parked for the scheduled prod promote. (Other Polishing items — active-register indicators, product-table filters, generic table component, default icons — need a bit more from Narong.)