Skip to content

Introduce vertical cost detail list#513

Open
iam-brain wants to merge 1 commit intosteipete:mainfrom
iam-brain:bryan/cost-chart-detail
Open

Introduce vertical cost detail list#513
iam-brain wants to merge 1 commit intosteipete:mainfrom
iam-brain:bryan/cost-chart-detail

Conversation

@iam-brain
Copy link
Contributor

@iam-brain iam-brain commented Mar 13, 2026

Summary

This PR now focuses only on the cost chart hover UI change: it replaces the single secondary detail line with a vertical per-model list in the chart detail area.

The branch intentionally keeps main's current data behavior. There are no scanner, decoding, CLI payload, or model-shape changes in this version.

What changed

  • CostHistoryChartMenuView now shows a stacked detail block under the chart.
  • The selected day still renders the existing primary summary line for date, cost, and tokens when available.
  • Model breakdowns render as a vertical list with accent bars and per-row cost detail.
  • The list is capped at four visible rows.
  • The menu reserves detail height based on the busiest loaded day so hover movement does not resize the menu.

What did not change

  • No changes to CostUsageModels.
  • No changes to the cost scanners.
  • No changes to decoding or CLI payloads.
  • No pricing or total-cost behavior changes.

Verification

  • pnpm check
  • swift test
  • ./Scripts/compile_and_run.sh

@iam-brain iam-brain force-pushed the bryan/cost-chart-detail branch from 3a17c4b to 5ef4015 Compare March 16, 2026 15:17
@iam-brain iam-brain changed the title Improve cost chart detail rendering Introduce vertical cost detail list Mar 16, 2026
@iam-brain
Copy link
Contributor Author

Rebased against main and pruned to reduce scope to a purely UX/UI improvement.

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