Commit Graph

7 Commits

Author SHA1 Message Date
CaIon 606a4eee96 feat(dashboard): add admin user analytics and fix chart labels
- Add GET /api/data/users endpoint for user-grouped quota data (admin only)
- Add user consumption ranking (horizontal bar, top 10) and user consumption
  trend (area chart) tabs visible only to admin users
- Fix mislabeled "消耗趋势" tab to "调用趋势" (shows call counts, not quota)
- Add processUserData helper for user ranking and trend data extraction
- Add i18n keys for new tabs across all 7 locales
2026-04-08 15:44:01 +08:00
Seefs 5010f2d004 format: package name -> github.com/QuantumNous/new-api (#2017) 2025-10-11 15:30:09 +08:00
Xyfacai 38c5e0e9f4 refactor: format api page query and err result 2025-07-14 22:03:22 +08:00
CaIon d427e84965 chore: 数据看板限制用户只能查询跨度一个月的数据 2024-01-13 01:32:23 +08:00
CaIon 1fdcb65c69 perf: 优化数据看板性能和显示效果 2024-01-08 18:49:10 +08:00
CaIon b45f3b1844 feat: 完善数据看板选择时间区间 2024-01-07 19:47:35 +08:00
CaIon dd0abc9447 feat: 新增数据看板 2024-01-07 18:31:14 +08:00