5 Commits

Author SHA1 Message Date
398e90fa17 fix: dashboard布局重构 - 修复遮挡/热门模型金额/今日指标缺失
1. 热门模型: valueFields改为[total_amount, cnt],与用户/供应商一致
2. 布局重构:
   - 第一行: 今日调用总量+今日交易金额(2个50%宽卡片)
   - 第二行: 用户总数+活跃用户+在线用户+记账异常(4个25%宽卡片)
   - 第三行: 热门模型+用户排行+供应商排行(3个33%宽图表)
3. 图表高度统一250px,间距16px
4. 移除ResponsableBox改用HBox,避免卡片溢出遮挡
5. 移除stat_new_users_month和stat_total_orgs,精简指标
2026-06-02 00:25:12 +08:00
966c89080b fix: reduce margins, padding, chart heights to eliminate scrollbar 2026-06-01 16:08:14 +08:00
c89c0d89de refactor: arrange model/user/provider charts in single row 2026-06-01 15:56:14 +08:00
80785e7ace fix: use entire_url() for chart data URLs to include module prefix 2026-06-01 15:52:10 +08:00
855f376671 refactor: consolidate rankings into combined charts
- Change top models from Top 3 to Top 5
- Simplify titles: remove 'Top X' and parenthetical details
- Replace separate user tables (by amount/by count) with single ChartBar
- Replace separate provider tables with single ChartBar
- Add get_top_users_combined and get_top_providers_combined functions
2026-06-01 15:41:40 +08:00