Skip to content

feat: Your Usage cumulative chart and API used display fix - #1

Merged
pj-workspace merged 1 commit into
mainfrom
feature/your-usage-chart
Jul 28, 2026
Merged

pj-workspace merged 1 commit into
mainfrom
feature/your-usage-chart

Conversation

@pj-workspace

Copy link
Copy Markdown
Owner

Summary

  • Add Cursor-style Your Usage cumulative stacked spend-by-model chart with Total / Included / On-demand summary cards
  • Always format usage percentages to one decimal place (e.g. 10.2%)
  • Fix API 包含已用 to show API pool used ($7.13) instead of allowance ceiling ($70)

Test plan

  • Refresh dashboard; Usage and Spending tabs show Your Usage chart after full-cycle sync
  • Included Usage / pool gauges show one-decimal percentages
  • Spending summary row「API 包含已用」matches API gauge used amount (not $70 when only ~10% used)
  • Menu bar still shows cycle% · today%

Production Risk

Low — display/analytics only; no auth or token handling changes.

Made with Cursor

Add Cursor-style stacked cumulative spend-by-model chart with spend summary cards, always show usage % to one decimal, and bind API included used to pool used instead of the allowance ceiling.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings July 28, 2026 05:42
@pj-workspace
pj-workspace merged commit 5ed2dba into main Jul 28, 2026
@pj-workspace
pj-workspace deleted the feature/your-usage-chart branch July 28, 2026 05:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants