Skip to content

feat: add contribution graph and usage history persistence#4

Merged
shixy96 merged 1 commit intomainfrom
feature/contribution-graph
Feb 24, 2026
Merged

feat: add contribution graph and usage history persistence#4
shixy96 merged 1 commit intomainfrom
feature/contribution-graph

Conversation

@shixy96
Copy link
Copy Markdown
Owner

@shixy96 shixy96 commented Feb 24, 2026

Summary

  • Add a GitHub-style yearly activity contribution graph to the Dashboard
  • Implement persistent usage history storage with atomic file writes and merge logic
  • Integrate history merging into the usage fetch pipeline
  • Add Tooltip UI component and i18n support (en/zh) for the new graph

Test plan

  • Verify contribution graph renders correctly with real usage data
  • Confirm tooltip shows date, token count, and cost on hover
  • Check that history.json is created/updated after a refresh
  • Run cargo test / cargo clippy / npm run lint

…istory persistence

Add a GitHub-style contribution graph to the dashboard showing yearly token usage activity.
Implement persistent usage history storage with atomic file writes and merge logic.
@shixy96 shixy96 merged commit 3234748 into main Feb 24, 2026
4 checks passed
@shixy96 shixy96 deleted the feature/contribution-graph branch February 24, 2026 06:18
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