6 Commits

Author SHA1 Message Date
5816ddf488 fix: add missing userTrend/aiCallTrend fields to dashboard stats response
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 43s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 17:41:53 +08:00
fb1c6fd216 feat: M4-01 — enhance admin dashboard with real metrics + caching
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 40s
- Query real data: today's AI calls, cost, import count, failed tasks, active users, upcoming expirations
- Add Redis caching (TTL 120s) for dashboard stats
- Add POST /admin-api/dashboard/refresh endpoint
- Fix ignoreDeprecations in tsconfig (ts-jest incompatible)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 17:36:23 +08:00
2a3f55c58e fix: simplify dashboard — skip missing tables
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 22s
2026-05-23 20:28:10 +08:00
28ff67c69e fix: BigInt for sizeBytes
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 1s
2026-05-23 20:26:44 +08:00
6aa24cc5bb fix: dashboard safe queries for missing tables + workflow prisma generate
Some checks failed
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 20:26:34 +08:00
b8a1fb0921 feat: add admin backend modules — dashboard, audit-log, admin-users
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 10s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 17:22:48 +08:00