mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +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> |
||
|---|---|---|
| .. | ||
| src | ||
| tests/it | ||
| build.rs | ||
| Cargo.toml | ||