7 Commits

Author SHA1 Message Date
8ceb769356 fix dashboard: clickable quick entries, full-data ranking tables, dark bg
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.
2026-05-26 16:06:54 +08:00
95d18e7ce0 feat: add product_management and supplychain to global menu 2026-05-26 14:07:48 +08:00
b8ac00ea16 feat: switch all modules to index.ui, add pricing and accounting entries 2026-05-26 13:59:24 +08:00
583f35ad6d feat: switch llmage and rag global menu to index.ui 2026-05-26 12:21:01 +08:00
93a387c9ed Revert "feat: update global_menu.ui - all modules point to index.ui, add pricing and accounting, remove submenu"
This reverts commit 27213ed3c50a221b90ae904eff06ed057826d4aa.
2026-05-26 12:17:34 +08:00
27213ed3c5 feat: update global_menu.ui - all modules point to index.ui, add pricing and accounting, remove submenu 2026-05-26 12:11:21 +08:00
ffdc7fc983 feat: modern UI redesign - shell layout, theme switching, dashboard revamp
Phase 1-2 deliverables:
- shell.ui: Global layout framework (topbar + collapsible sidebar + main content)
- shell_theme.css: Dark/light theme CSS custom properties system
- shell_theme.js: Theme toggle + sidebar collapse with localStorage persistence
- global_menu.ui: Unified module navigation menu with RBAC visibility
- index.ui: Redesigned dashboard homepage with modern stat cards + quick links
- Stat card widgets: today_usage, today_amount, total_users, concurrent, errors
- chart_top_models.ui + api/top_models.dspy: ChartBar with data_url pattern
- table_top_users_amount.ui: Jinja2-rendered user ranking table
- build.sh: Added .css file linking support

Design system:
- Dark theme (default): slate color palette (#0B1120, #111827, #1E293B)
- Light theme: clean white palette with matching structure
- Theme persisted in localStorage, toggled via topbar button
- Sidebar collapsible with icon-only mode, state persisted in localStorage
- Responsive stat cards with hover effects and trend indicators
- Quick link cards for model management, users, knowledge base, errors
2026-05-25 16:53:36 +08:00