- Add get_usage_trend() and get_amount_trend() functions for day-over-day comparison
- Display trend arrows (up/down/flat) with percentage change in stat_today_usage and stat_today_amount
- Add colored left borders to all stat cards for visual distinction:
- Blue: usage, total users
- Purple: amount, total orgs
- Green: active users, new users this month
- Cyan: concurrent users
- Red: errors
- Enhance visual hierarchy with accent colors matching SVG icons
- 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
- Add get_user_today_models() function to load_dashboard.py
Shows current user's today model call counts and amounts
- Create api/user_today_models.dspy endpoint
- Create user_today_models_chart.ui ChartBar widget (30s auto-refresh)
- Add '我的今日模型使用' card section to index.ui with refresh button
- Register new paths in load_path.py (logined permission)
1. Quick entry shortcuts: Replace VBox (no native click) with Button
widgets for reliable click event handling. Each entry wraps its
icon+text in a VBox inside the Button for layout.
2. Ranking tables: Changed get_top_users/ providers queries from
today-only (WHERE use_date=today) to all-time data so transaction
counts and amounts always display meaningful results.
3. Background color: Added bgcolor=#0B1120 to top-level index.ui VBox
so the page background matches the shell theme, eliminating the
white-vs-dark-blue contrast.
- Add get_active_users_today(), get_new_users_month(), get_total_orgs() to load_dashboard.py
- Create stat_active_users.ui, stat_new_users_month.ui, stat_total_orgs.ui widgets
- Add active users card to main stats row
- Add new row with new users this month and total organizations cards