← Back to gallery

T4 — POS Open Orders Restructure PROD

2026-05-23 — Gate 2 ship. NIX-OS-81 ("Open Orders" — Notion status: Needs Rework). 9 in-scope items shipped in one bundled slice. nix-cafe 9d0954e (push) + 4f02144 (empty-commit retrigger after CF auto-deploy stalled).

Summary

Status
20/20 prod + 51/51 regression = 71/71 ✓
Tenant
lumiere-coffee (Starter in-app shell)
Commits
9d0954e (T4 implementation) + 4f02144 (empty retrigger) on karouna-dev
Source task
NIX-OS-81 "Open Orders"

What shipped

New files (2):

Modified (3):

Screenshots

All Orders tab — empty state with status filter pills
All Orders view — empty session, status filter pills (Active default).
Ongoing draft in All Orders list with Ongoing state chip
Injected ongoing draft appears in All Orders list with amber Ongoing chip.
Discard Tab Modal with confirm + keep options
DiscardTabModal — replaces native confirm() on X-close of an ongoing draft. Shows item count + total as context.
Narong's annotated target layout
Narong's annotation on NIX-OS-81 — red curve indicating the All Orders panel placement + red circle on the old "All orders" button.

Test results — 20/20 prod

All 20 checks
  1. SSO-login lumiere owner ·
  2. Navigate to in-app Starter register + open shift ·
  3. T4.1 + T4.2 — tab order History → Register → per-order tabs (+ New) ·
  4. T4.3 — fresh empty tab shows (0) hint ·
  5. T4.2 — click All orders → history view renders ·
  6. T4.5 — status filter pills render, default Active ·
  7. T4.2 — click Register → returns to register view ·
  8. T4.A — add a 2nd empty tab (+ New) ·
  9. T4.A — closing an EMPTY tab does NOT show the discard modal ·
  10. Inject an ongoing draft via SQL for the ongoing flow probe ·
  11. Reload page to pick up the injected draft as a tab ·
  12. T4.5 — Ongoing draft appears in All Orders list ·
  13. T4.6 — Ongoing row has the Ongoing state chip ·
  14. T4.5 — switching to Paid filter hides the ongoing draft ·
  15. T4.5 — switching to Ongoing filter shows the ongoing draft ·
  16. T4.5 — clicking the Ongoing row resumes it in register ·
  17. T4.A — add a 2nd tab to enable X close on the ongoing draft ·
  18. T4.A — X-closing the ongoing draft tab opens DiscardTabModal ·
  19. T4.A — clicking Keep dismisses the modal + tab stays ·
  20. T4.A — re-open modal + click Discard → tab is gone ·

Regression — 51/51 total ✓

SuiteResultNotes
test-phase1-prod.mjs11/11
test-phase2-sso-outdoor-prod.mjs6/6Windows cert-chain flake on initial run; solo retry with NODE_TLS_REJECT_UNAUTHORIZED=0 → 6/6.
test-phase2-cafe-multishop-prod.mjs6/6R8.2 parallel-run race on initial; solo retry → 6/6.
test-m1-prod.mjs10/10
test-r7-prod.mjs14/14Windows cert-chain flake on initial; solo retry → 14/14.
test-r8-prod.mjs4/4
Total51/51All flakes environmental, not regressions from 9d0954e.

⚠ Mid-Gate-2 lessons

Reply approved to close T4.

×