Skip to content

Add sortable token and cost breakdowns - #64

Merged
MayankBansal12 merged 4 commits into
mainfrom
feat/sortable-usage-breakdown
Sep 17, 2026
Merged

MayankBansal12 merged 4 commits into
mainfrom
feat/sortable-usage-breakdown

Conversation

@MayankBansal12

Copy link
Copy Markdown
Owner

Show tokens and cost together in the breakdown, with each share beneath its value and sortable column headers. Keep chart controls independent and unknown costs explicit on desktop and mobile.

Supersedes #53, preserving @hxy91819's original commit and adding the UI refinements separately. Fixes #48.

Validated: typecheck, 253 tests, plugin build, and desktop/mobile browser checks.

hxy91819 and others added 3 commits September 11, 2026 21:01
Provider share rows and the model/project breakdown were cost-only, so
unpriced usage always showed $0.00 and sorted last. Both now follow a
shared cost/tokens metric: share rows rank and render by the active
metric next to the chart, and the breakdown header gets the same
toggle. Unpriced rows keep the "Unknown"/"+" cost marker in both modes.

Refs #48

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@MayankBansal12
MayankBansal12 merged commit f182aa0 into main Sep 17, 2026
2 checks passed
@MayankBansal12
MayankBansal12 deleted the feat/sortable-usage-breakdown branch September 17, 2026 19:41
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.

Let the share list and breakdown table switch between cost and tokens

2 participants