T5 - Dashboard Fixes: active technicians, interactive bars, quick actions, caching

- Fix Active Technicians: query users WHERE role='technician' instead of counting from visit data
- Interactive bar charts: hover tooltips show label+count, click drills down to filtered asset list
- Quick action icons: coin for Assets, Sites, Check-in replaces CSV export buttons
- No visit data: suggestion card with 'Add a Check-in' button
- No manufacturer data: hide section entirely when empty
- 30-second TTL cache on both backend (/api/stats) and frontend (loadDashboard)
- Add dashboard cache module with time-based invalidation
This commit is contained in:
2026-05-20 22:25:24 -04:00
parent d844429f56
commit 828fd5c482
3 changed files with 1135 additions and 199 deletions
+952 -192
View File
File diff suppressed because it is too large Load Diff