Commit Graph

4 Commits

Author SHA1 Message Date
ab915e9292 Add cost metrics to analytics dashboard 2026-04-28 11:27:51 +08:00
918a615793 fix: locale toggle shows current language, date inputs respect locale
- Language switcher now displays current locale (中文/English) instead of target
- Add lang attribute to date inputs for proper localization of native date picker
2026-04-07 15:30:25 +08:00
cc66034e59 feat: sync embedded analytics theme with parent app 2026-04-02 20:11:33 +08:00
b719b358f8 feat: API analytics dashboard with i18n and theme support
Next.js full-stack analytics dashboard for new-api.
- Direct PostgreSQL readonly queries on logs table
- 5 pages: Dashboard, Rankings, Aggregation, Logs, Detail
- Dark/Light/System theme with CSS variables
- Chinese/English i18n (default Chinese)
- Recharts with dual Y-axis for input/output tokens
- Lucide icons + Motion animations
- Docker + docker-compose with external sinobridge network, port 8019
2026-04-02 12:47:50 +08:00