feat(canvas): strip demo data, EA2 is the only source #3

Merged
shad merged 1 commits from feat/strip-demo-data into main 2026-06-14 21:08:48 +00:00
Owner

Per the "no longer a demo" mandate. Removes 4 hand-modelled blueprint scenarios and the snapshot fallback so EA2 is the single source of truth.

  • src/data/synthetic.ts + tests deleted (~525 LOC of fake data gone).
  • DataMode = "snapshot" removed; the store boots straight into live EA2. Failures surface as toasts, not fake data.
  • Topbar / Settings / CommandBar wording: SNAPSHOT/LIVE becomes the unambiguous EA2 badge.
  • package.json name flowmaster-mission-control-demoflowmaster-canvas.
  • README rewritten — no longer calls the product a demo.

23/23 tests pass. tsc + vite build green. Bundle 234 kB gz.

Per the "no longer a demo" mandate. Removes 4 hand-modelled blueprint scenarios and the snapshot fallback so EA2 is the single source of truth. - `src/data/synthetic.ts` + tests deleted (~525 LOC of fake data gone). - `DataMode = "snapshot"` removed; the store boots straight into live EA2. Failures surface as toasts, not fake data. - Topbar / Settings / CommandBar wording: `SNAPSHOT`/`LIVE` becomes the unambiguous `EA2` badge. - `package.json` name `flowmaster-mission-control-demo` → `flowmaster-canvas`. - README rewritten — no longer calls the product a demo. 23/23 tests pass. `tsc` + `vite build` green. Bundle 234 kB gz.
shad added 1 commit 2026-06-14 21:08:41 +00:00
feat(canvas): strip demo data, EA2 is the only source
build-and-publish / test (pull_request) Has been cancelled
build-and-publish / image (pull_request) Has been cancelled
58026b2486
- Remove src/data/synthetic.ts + its test (AR refund, HCM onboarding,
  GL close, Service Ops blueprints were hand-modelled fakes).
- Remove DataMode='snapshot'; the store now boots straight into live
  EA2 with no fallback. EA2 errors surface as toasts, not fake data.
- Topbar / Settings / CommandBar wording: 'SNAPSHOT'/'LIVE' becomes
  the unambiguous 'EA2' badge. No more user-facing mode switch.
- package.json name flowmaster-mission-control-demo → flowmaster-canvas.
- README rewritten — no longer calls the product a demo.
- store.test: drop the two tests that relied on synthetic scenarios
  always being present; add one asserting an EA2-empty response leaves
  the store cleanly empty (no error-stuck state).

All 23 vitest tests pass. tsc + vite build green. Bundle dropped
from ~238 kB gz → ~234 kB gz.
shad merged commit 1df3122eef into main 2026-06-14 21:08:48 +00:00
shad deleted branch feat/strip-demo-data 2026-06-14 21:08:49 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shad/flowmaster-mission-control-demo#3