Parent
#148
What to build
Port the designer's HAL0_DATA mock (from prototype's dash/data.jsx) into a runtime mock layer at ui/src/composables/useMock.js.
Activation modes:
VITE_MOCK_LEMONADE=1 — full mock for offline dev
- Per-endpoint fallback when real API returns 404 (logs console warning, never crashes)
Mock fixtures are the single source of truth — Playwright apiMock.ts imports the same data so dev + test share one source.
Covers shapes that backend issues #142 (multi-modal slots), #145 (metrics aggregator), #146 (FLM/NPU install) will eventually fulfill. When a real endpoint lands, the store flips back to real data with zero code change in views.
Acceptance criteria
Blocked by
Parent
#148
What to build
Port the designer's
HAL0_DATAmock (from prototype'sdash/data.jsx) into a runtime mock layer atui/src/composables/useMock.js.Activation modes:
VITE_MOCK_LEMONADE=1— full mock for offline devMock fixtures are the single source of truth — Playwright
apiMock.tsimports the same data so dev + test share one source.Covers shapes that backend issues #142 (multi-modal slots), #145 (metrics aggregator), #146 (FLM/NPU install) will eventually fulfill. When a real endpoint lands, the store flips back to real data with zero code change in views.
Acceptance criteria
VITE_MOCK_LEMONADE=1 npm run devboots dashboard with NO backend runningdocs/dev/web-ui-mocks.mdBlocked by