codeburn/mac/Sources/CodeBurnMenubar
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
..
Data feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
Security feat(mac): add Connect Claude button to Plan pane 2026-04-18 06:54:57 -07:00
Theme feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
Views fix(mac): show correct cost in trend tooltip for per-provider views 2026-04-18 13:18:11 -07:00
AppStore.swift feat(mac): hide agent tabs when fewer than two providers have spend 2026-04-18 05:07:36 -07:00
CodeBurnApp.swift fix(mac): keep (today, all) cache fresh for menubar title and tab labels 2026-04-18 12:58:50 -07:00
CurrencyState.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00