codeburn/mac/Sources/CodeBurnMenubar/Views
iamtoruk bfcae0f84e Fix provider tabs showing wrong costs when period changes
The AgentTabStrip was using allProvidersToday for cost display, which
meant tabs always showed today's per-provider costs regardless of
which period was selected. This caused the hero to show e.g. $209 for
30 Days but the Claude tab to show $59 (today's Claude cost).

Fix: cost(for:) now reads from store.payload (selected period) instead
of allProvidersToday. Tab VISIBILITY still uses todayPayload so tabs
don't disappear when switching periods.

Bug existed since the original menubar app commit (495a254, Apr 17).
2026-04-25 01:34:10 +02:00
..
ActivitySection.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
AgentTabStrip.swift Fix provider tabs showing wrong costs when period changes 2026-04-25 01:34:10 +02:00
FindingsSection.swift Fix menubar crashes and add reliable auto-refresh 2026-04-23 21:09:46 +02:00
HeatmapSection.swift Fix menubar crashes and add reliable auto-refresh 2026-04-23 21:09:46 +02:00
HeroSection.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
MenuBarContent.swift feat(mac): auto-update checker and Plan pane button cleanup 2026-04-19 03:33:37 -07:00
ModelsSection.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
PeriodSegmentedControl.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
SectionCaption.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
SparklineView.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00