mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
The Repo and Workflow dropdowns on the runs page derived their options from the board query, which is disabled in list view. With ?view=list, the options were always empty even when runs were visible. Derive the options from whichever data source the current view loads: the board query in columns view, or the current page of the paginated list query in list view. Extract the option-building into an exported buildFilterOptions helper that also keeps the active selection in the options when no loaded run matches it, so the filter button never renders an undefined label while paginating. A future change will replace page-derived options with a facets endpoint plus server-side repo/workflow query params. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| public/images | ||
| scripts | ||
| .dockerignore | ||
| .gitignore | ||
| index.template.html | ||
| package.json | ||
| react-doctor.config.json | ||
| tsconfig.json | ||