Commit Graph
19 Commits
Author SHA1 Message Date
jialinandjialin a516e6ce72 feat(dashboard): split top user token usage into prompt/completion 2026-06-30 14:38:35 +08:00
Yuxing Deng 44e5b78d29 refactor(dashboard): switch usage charts to route group_by, rename Models card
Align dashboard with the route dimension introduced in the previous
commit:

* Token Usage / API Requests pie charts query the breakdown API with
  `group_by: ['date', 'route']` and aggregate via the new `route`
  dimension in `buildUsageLabel`. Visible chart titles keep the existing
  "by Model" wording — only the underlying data dim changed.
* Overview "Models" card label switched to `dashboard.deployments`
  ("部署" / "Deployments"), and the Active Models table heading to
  `dashboard.activeDeployments`. These reflect the underlying entity
  (model deployments) more accurately now that routes are the
  user-facing model concept.
* Drop 11 unused dashboard locale keys (`dashboard.title`,
  `dashboard.models`, `dashboard.allocategpus`, `dashboard.instances`,
  `dashboard.disk`, `dashboard.diskutilization`, `dashboard.apirequest`,
  `dashboard.activeModels`, `dashboard.activeUsers`,
  `dashboard.activeModels.name`, `dashboard.runninginstances`) — no
  remaining references in `src/` after the rename. Locale parity check
  passes.
2026-05-19 16:50:42 +08:00
jialinandjialin bcea46fa8f fix(style): chart style 2026-05-18 20:14:28 +08:00
jialinandjialin 898c7f1be2 refactor: dashboard usage 2026-05-06 12:27:22 +08:00
jialin fadff34f5f chore: update description for adding worker 2025-11-06 19:38:01 +08:00
jialin 34af730934 feat: model usage 2025-06-24 16:54:03 +08:00
jialin df85284a60 style: audio player, usage chart 2025-06-19 13:36:49 +08:00
jialin 9d1e6df8f0 chore: date ranger picker presets 2025-06-18 11:48:09 +08:00
jialin 4dcb0bcfed fix: image editor fit view incorrect, do not query gguf files when gguf unchecked 2025-06-09 18:45:47 +08:00
jialin a161fa953e feat: usage export data 2025-06-09 18:45:47 +08:00
jialin c5327d3e56 fix: playground message flashing 2024-07-11 14:49:57 +08:00
jialin 13d71e28c9 style: apikey create 2024-07-01 17:13:23 +08:00
jialin 0f9123ee4f fix: table list action 2024-07-01 15:35:48 +08:00
jialin aa160da9f9 fix: dashboard intl settings 2024-06-30 13:49:44 +08:00
jialin 1293f71bce chore: dashboard api 2024-06-26 19:01:38 +08:00
jialin 1fc415b6e6 style: page styles 2024-06-26 10:39:03 +08:00
jialin 8c402e88fb style: dashboard style 2024-06-19 18:58:49 +08:00
jialin 9fa61b9849 build: output files to dir 2024-06-17 13:03:41 +08:00
jialin 46a9e6a931 feat: dashboard 2024-05-22 09:29:30 +08:00