Skip to content

fix(ui): mount FilterBar on Projects Overview page (was tabs-only)#68

Merged
0bserver07 merged 1 commit into
mainfrom
fix/filterbar-on-overview-page
May 2, 2026
Merged

fix(ui): mount FilterBar on Projects Overview page (was tabs-only)#68
0bserver07 merged 1 commit into
mainfrom
fix/filterbar-on-overview-page

Conversation

@0bserver07
Copy link
Copy Markdown
Owner

PR #66 wired FilterBar into ProjectDashboard.tsx — but Overview.tsx is a separate route. Result: filter bar invisible on the dashboard's landing page even though store has 7 providers.

This adds <FilterBar/> at the top of Overview.tsx. State is already shared via FiltersProvider in App.tsx so filtering on either page persists across navigation.

🤖 Generated with Claude Code

PR #66 mounted FilterBar on every per-project tab via
ProjectDashboard.tsx but missed the top-level Projects Overview page
(Overview.tsx is a separate route, not a tab). On a 7-provider store
the user landed on the Overview page and saw no filter bar — the only
filter chrome was Overview's own per-model toggle, no provider filter.

This adds <FilterBar/> at the top of Overview.tsx so the provider/model
filter is visible from the moment the dashboard opens. State is shared
via FiltersProvider in App.tsx (already wraps both routes), so
filtering on Overview persists when the user navigates into a project
dashboard, and vice versa.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@0bserver07 0bserver07 merged commit 0c5d6eb into main May 2, 2026
9 checks passed
@0bserver07 0bserver07 deleted the fix/filterbar-on-overview-page branch May 2, 2026 15:59
0bserver07 added a commit that referenced this pull request May 2, 2026
… drives it (#69)

Overview.tsx had a local horizontal strip of model toggle chips (one per
model id, no wrap) that stretched past the viewport on multi-provider
stores — 20+ chips inline. With FilterBar now mounted on the same page
(PR #68) this strip was redundant; both were filtering the same thing
through different state.

Wires Overview's per-model cost timeline to read from FilterBar's
useFilters() hook (`filters.models[0]` if any, else "all") and removes
the 20-chip strip entirely. Single source of truth, no horizontal
overflow, and selecting a model in FilterBar now narrows Overview's
charts the way the original strip did.

Result on the user's 7-provider / 20-model store: filter row wraps
cleanly across 2-3 lines via flex-wrap; clicking a model chip still
narrows the daily-cost chart.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0bserver07 added a commit that referenced this pull request May 20, 2026
PR #66 mounted FilterBar on every per-project tab via
ProjectDashboard.tsx but missed the top-level Projects Overview page
(Overview.tsx is a separate route, not a tab). On a 7-provider store
the user landed on the Overview page and saw no filter bar — the only
filter chrome was Overview's own per-model toggle, no provider filter.

This adds <FilterBar/> at the top of Overview.tsx so the provider/model
filter is visible from the moment the dashboard opens. State is shared
via FiltersProvider in App.tsx (already wraps both routes), so
filtering on Overview persists when the user navigates into a project
dashboard, and vice versa.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0bserver07 added a commit that referenced this pull request May 20, 2026
… drives it (#69)

Overview.tsx had a local horizontal strip of model toggle chips (one per
model id, no wrap) that stretched past the viewport on multi-provider
stores — 20+ chips inline. With FilterBar now mounted on the same page
(PR #68) this strip was redundant; both were filtering the same thing
through different state.

Wires Overview's per-model cost timeline to read from FilterBar's
useFilters() hook (`filters.models[0]` if any, else "all") and removes
the 20-chip strip entirely. Single source of truth, no horizontal
overflow, and selecting a model in FilterBar now narrows Overview's
charts the way the original strip did.

Result on the user's 7-provider / 20-model store: filter row wraps
cleanly across 2-3 lines via flex-wrap; clicking a model chip still
narrows the daily-cost chart.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant