codeburn/mac/Sources/CodeBurnMenubar/Views
AgentSeal 94240f5341 fix(mac): show correct cost in trend tooltip for per-provider views
The trend chart tooltip always displayed `bar.tokens` in its header,
which is zero for provider-filtered history (the CLI only carries
per-provider cost+calls in the daily cache, not tokens). Result: when
you selected Claude/Codex/Cursor/Pi, hovering a bar showed $0.00 even
on days with real spend.

The trend chart's main metric already falls back to cost when tokens
are zero. Pass that same metric value through to the tooltip so both
stay consistent.

Also removed the misleading "No model breakdown available" fallback
line. For provider-filtered views the per-model breakdown legitimately
doesn't exist in the payload, so the tooltip now just shows date +
cost without the error-sounding message.
2026-04-18 13:18:11 -07:00
..
ActivitySection.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
AgentTabStrip.swift fix(mac): restore agent tab strip to show all detected providers 2026-04-18 06:54:06 -07:00
FindingsSection.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
HeatmapSection.swift fix(mac): show correct cost in trend tooltip for per-provider views 2026-04-18 13:18:11 -07:00
HeroSection.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
MenuBarContent.swift fix(mac): restore agent tab strip to show all detected providers 2026-04-18 06:54:06 -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