codeburn/mac/Sources
ozymandiashh 21c677a450
fix(menubar): show a Total row under the Trend tooltip's model breakdown (#1434)
Provider-filtered daily history now carries input and output tokens, so
the Trend chart picks tokens as its metric even with a single provider
selected. The tooltip header followed it and showed "N tok", which left
the day's cost nowhere in the tooltip. The model rows could not stand in
for a total either: only the first four of up to five topModels render.

When a day has a model breakdown, the tooltip now ends it with a
separator and a Total row carrying the day's cost and tokens from the
payload (not a sum of the visible rows), matching the web dashboard's
tooltip. The header figure is kept only for days without a breakdown.

Fixes #1433
2026-09-15 19:05:45 +02:00
..
CodeBurnMenubar fix(menubar): show a Total row under the Trend tooltip's model breakdown (#1434) 2026-09-15 19:05:45 +02:00