Skip to content

feat: add usage statistics panel with analytics dashboard#275

Open
XuhuiCao wants to merge 3 commits intomasterfrom
feat-Add-an-open-source-token-statistics-panel
Open

feat: add usage statistics panel with analytics dashboard#275
XuhuiCao wants to merge 3 commits intomasterfrom
feat-Add-an-open-source-token-statistics-panel

Conversation

@XuhuiCao
Copy link
Copy Markdown
Contributor

  • Add user avatar dropdown menu with usage and settings options
  • Create usage statistics page with four tabs: Overview, Tools, Analytics, Wrapped
  • Implement provider and model filters (connected to settings)
  • Add comprehensive chart components using ECharts:
    • Cost trends, activity heatmap, token usage by model
    • Tool frequency, success rate, duration analysis
    • Cache hit rate, error rate, peak hours
    • Session length distribution, model mix
  • Add NEO year-in-review (Wrapped) panel with year selector
  • Support i18n for Chinese and English
  • Use empty state placeholders with icons until backend connected
  • Time range filtering (today/week/month) ready for backend

- Add user avatar dropdown menu with usage and settings options
- Create usage statistics page with four tabs: Overview, Tools, Analytics, Wrapped
- Implement provider and model filters (connected to settings)
- Add comprehensive chart components using ECharts:
  - Cost trends, activity heatmap, token usage by model
  - Tool frequency, success rate, duration analysis
  - Cache hit rate, error rate, peak hours
  - Session length distribution, model mix
- Add NEO year-in-review (Wrapped) panel with year selector
- Support i18n for Chinese and English
- Use empty state placeholders with icons until backend connected
- Time range filtering (today/week/month) ready for backend

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 23, 2026

Build Ready

Architecture Download Size
Apple Silicon Download 151.41 MB
Intel Download 158.42 MB

- Model selector: keep menu open after provider switch so users can
  continue selecting a model without reopening the dropdown
- Model selector: redesign provider switching with pill-shaped chips
  for clearer visual hierarchy
- Permission mode: add hint descriptions for each mode to help users
  understand when to use each option
- Permission mode: display mode name and description on separate lines
  for better readability

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sorrycc
Copy link
Copy Markdown
Member

sorrycc commented Mar 24, 2026

1、产物 zip 包大了 10+M
2、看起来是纯 ui 侧的实现,没有 main 侧的
3、design 需要按照现有约定放 docs/design 下

- Add SplashScreen component with video animation
- Play splash video only once per session using sessionStorage
- Natural fade-out transition to main app after video ends
- Add media-src CSP rule for video loading
- Graceful fallback if video fails to load within 5 seconds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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