mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-05 08:10:39 +00:00
Extend GET /api/v1/boards/runs with include_archived=true (matching the existing flag on listRuns), add an Archived BoardColumn that the server appends only when the flag is set, and surface a "Show archived" toggle on /runs that flips between request shapes. Default behavior is unchanged — archived runs stay hidden. Server: list_board_runs now takes ListRunsParams; board_column maps RunStatus::Archived to BoardColumn::Archived; board_columns(include_archived) appends the column conditionally. Two new handler tests cover the default and flag-on paths. Web: useBoardsRuns(includeArchived) keys requests so SWR refetches on toggle; columnStatuses + columnStatusDisplay + columnStyles get an "archived" entry; buildSkeletonColumns filters by the flag so the loading state matches the eventual response. Two new buildBoardColumns tests cover both column shapes. Touched generated TS client files include unrelated whitespace drift from openapi-generator-cli; including them keeps the working tree consistent with what `bun run generate` produces. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||