fabro/apps/fabro-web/app
Bryan Helmkamp 999f2a11c3 refactor(fabro-web): stage 6.6 rewrite workflowData literal to v2 shape
The hardcoded sample workflow entries in `workflow-detail.tsx` still
embedded the legacy flat `RunSettings` shape (top-level `llm`, `vars`,
`sandbox`, `setup`) — a visible mismatch with what the server now
returns on `/api/v1/runs/:id/settings`.

Rewrites the four static literals (fix_build, implement, sync_drift,
expand) to mirror the v2 `SettingsFile` tree: `_version`, `run.goal`,
`run.inputs`, `run.model`, `run.sandbox`, `run.prepare.steps`,
`run.prepare.timeout`, etc. Duration and size fields now use the
human-readable forms (`"120s"`, `"8GB"`, `"10GB"`) per R83 / R84.

Adds a module-level doc comment pointing readers at the
`fabro_types::settings::SettingsFile` Rust type as the source of truth
for the shape. `RunSettings` stays as `Record<string, unknown>`, so
the literal typechecks without needing a formal type assertion on
each entry.

fabro-web `typecheck` / `test` / `build` stay green.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 17:18:34 -04:00
..
components Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
data feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
layouts feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
lib refactor(api): stage 6.6 collapse settings DTOs to freeform v2 shape 2026-04-09 17:04:33 -04:00
routes refactor(fabro-web): stage 6.6 rewrite workflowData literal to v2 shape 2026-04-09 17:18:34 -04:00
api.test.ts feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
api.ts feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
app.css Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
entry.tsx Cut over Fabro web app to a server-backed SPA 2026-04-01 21:36:01 -07:00
root.tsx fix(fabro-web): default unsaved theme selection to dark 2026-04-08 12:10:34 -04:00
router.test.tsx Fix login route collision after SPA cutover 2026-04-01 21:55:30 -07:00
router.tsx refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00