mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-22 05:26:23 +00:00
Rewrites apps/fabro-web/app/routes/run-files.tsx to consume the real PaginatedRunFileList response and removes the fallbackFiles fixture and the Steer subsystem. The new component: - Loads via apiJsonOrNull, so a 404/501 (dev without the route) renders the empty state instead of the root error boundary - Branches on meta.degraded + meta.patch to render PatchDiff with a DegradedBanner whose copy reflects degraded_reason - Renders per-entry placeholders for sensitive, binary, symlink/ submodule, and truncated files with the priority order sensitive > binary > symlink/submodule > truncated -- security flags never get hidden behind a lesser placeholder - Renders one MultiFileDiff per regular entry - Uses role="region" + aria-label on each file row Also unhides the Files Changed tab in run-detail.tsx by flipping broken: true -> false. Adds missing final_patch: None to the runner RunFailed test fixtures to match the lifecycle change from Unit 2. Refs plan docs/plans/2026-04-19-002-feat-run-files-changed-tab-plan.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| data | ||
| layouts | ||
| lib | ||
| routes | ||
| api.test.ts | ||
| api.ts | ||
| app.css | ||
| entry.tsx | ||
| install-api.test.ts | ||
| install-api.ts | ||
| install-app.test.tsx | ||
| install-app.tsx | ||
| install-config.test.ts | ||
| install-config.ts | ||
| install-flow.test.ts | ||
| install-flow.ts | ||
| install-router.tsx | ||
| mode.test.ts | ||
| mode.ts | ||
| root.tsx | ||
| router.test.tsx | ||
| router.tsx | ||