feat(dashboard,reports): wire Dashboard + Reports summaries (MAPPS-130) #93
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-130-wire-dashboard-reports"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Wires the last two hardcoded data pages - the Dashboard and the Reports detail - to the reports service (PMS-93) and the list endpoints.
Closes MAPPS-130.
Dashboard (
/dashboard)GET /reports/dashboard; Active Projects fromGET /projects; Hours This Week fromGET /time-entries(sum since Monday).GET /tickets, clickable), Recent Time Entries (GET /time-entries), and an Open-by-Priority breakdown from the dashboard report.Reports detail (
/reports/:report_type)report_typemaps to: ticket/SLA from/reports/tickets+/reports/dashboard, utilization from/reports/time, revenue from/reports/billing, plus a real breakdown table (opened-by-status, A/R aging).Verification
cargo fmt --checkclean;cargo clippy --target wasm32-unknown-unknown --all-targets -- -D warningsclean.GET /reports/dashboard-> 200 (open_by_priority, sla counts),/reports/tickets-> 200,/reports/billing-> 403 for a non-manager (handled gracefully).Stacked on #88 / #89 / #91 / #92
Built on the MAPPS-126..129 branch. Until those merge this PR's diff also shows their changes. Merge #88, #89, #91, #92 first, then this.
🤖 Generated with Claude Code