Skip to content

Fix token usage heatmap rendering - #4248

Merged
Re-bin merged 2 commits into
mainfrom
fix/token-usage-graph-main
Jun 8, 2026
Merged

Re-bin merged 2 commits into
mainfrom
fix/token-usage-graph-main

Conversation

@chengyongru

Copy link
Copy Markdown
Collaborator

Summary

  • align the token usage heatmap date window with the configured agent timezone
  • prevent month labels from being clipped in the overview heatmap
  • add regression coverage for timezone boundary rendering

Test Plan

  • bun run test -- src/tests/settings-view.test.tsx
  • bun run build
  • real gateway + Playwright smoke check for #/settings heatmap rendering

@chengyongru

Copy link
Copy Markdown
Collaborator Author

before:
image

after:
settings-overview-fixed-ready

@Re-bin
Re-bin merged commit 8fe0149 into main Jun 8, 2026
4 checks passed
@chengyongru
chengyongru deleted the fix/token-usage-graph-main branch June 15, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants