fabro/apps/fabro-web/app/lib
Bryan Helmkamp da88a47595 feat: wire web UI to real server with demo mode toggle
Server changes:
- Add /boards/runs to demo routes (delegates to list_runs)
- Fix demo get_run_status to return StoreRunSummary shape matching OpenAPI spec
- Enrich real /boards/runs to return RunListItem shape with board column mapping
  (Running->working, Paused->pending, Completed->merge; others excluded)
- Update existing tests that asserted old RunStatusResponse fields from /boards/runs

Web UI changes:
- Add DemoModeProvider context and useDemoMode hook
- Hide Workflows/Insights nav items in production mode via getVisibleNavigation
- Change run-detail loader to use /runs/{id} directly instead of searching /boards/runs
- Add mapRunSummaryToRunItem for mapping server response to UI shape
- Add Graph tab, hide Stages tab in production mode, always hide Files tab
- Make run-overview and run-graph loaders resilient to 501 via apiJsonOrNull
- Add isNotImplemented and apiJsonOrNull helpers to api.ts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 04:46:08 -04:00
..
demo-mode.test.tsx feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
demo-mode.tsx feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
format.ts Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
graph-theme.ts Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
theme.tsx Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
time.ts chore: remove unused verification, retros, and sessions endpoints 2026-04-06 17:52:51 -04:00
workflow-api.ts fix(web): use local workflow response types 2026-04-07 14:48:19 -04:00