← All tests

Default categories + confirm dialog STAGING

Next-Phase n7 (Narong). Verified on demo.staging 4/4 + staging smoke 5/5.

(1) The default coffee-shop category set is now Narong's list, and (2) his new requirement — the Categories page "Use default categories" button now opens a confirmation dialog before populating (it applied instantly before). Both the Categories page and the register-add prompt share one list + the idempotent apply action. No migration.

The 9 categories

  1. Espresso Drinks
  2. Brewed Coffee
  3. Cold & Iced Coffee
  4. Teas & Matchas
  5. Alternative Drinks
  6. Pastries & Baked Goods
  7. Breakfast & Brunch
  8. Grab & Go
  9. Snacks

Live on demo.staging

Categories page empty state on staging
demo.staging › Configurations › Categories, empty state — "Use default categories" lists Narong's set.
Confirmation dialog on staging
The new confirmation dialog on staging — all 9 categories, Cancel / "Add 9 categories". Nothing is created until confirmed.

Checks

Login + Categories page loads on stagingpass
Empty state → dialog lists all 9 categoriespass
Cancel closes without applyingpass
Staging smoke (SSO · cross-tenant · Starter · no-session)5/5

nix-cafe dev 7948a83staging 996874d (Worker nix-cafe-staging a0cc74c5). Files: lib/constants/default-categories.ts + settings/categories/categories-client.tsx. No migration. Parked on staging for the scheduled prod promote.