feat(phase-6): rich super admin dashboard UI
Full DashboardPage rewrite with: - 5-KPI row (total/active schools, expiring licenses, open tickets, SMS today) - 30-day SMS volume bar chart (reuses SmsPage chart pattern) - Revenue snapshot: MRR, paid this month, outstanding + overdue invoices - School health table: status, tier, credit balance with LOW badge, license expiry countdown, last-seen relative time — sortable + search + status filter - Quick actions panel with open-ticket badge counter - Mini stats: SMS queue depth, suspended school count - Refresh button with last-updated timestamp - api.ts: getDashboardSchoolHealth + getDashboardRevenue
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
## Current Position
|
||||
|
||||
Milestone: v1.0 — Foundation & Core Services
|
||||
Phase: 5 of 15 (On-Prem SMS Polling Agent — complete)
|
||||
Plan: Phase 5 complete — Phase 6 next
|
||||
Status: **Phase 5 applied — ready to begin Phase 6**
|
||||
Last activity: 2026-03-16 — Phase 5 complete (sync/poll hardening: credit deduction, failed job reporting, feature flags, suspension flag, stale job reclaim)
|
||||
Phase: 6 of 15 (Super Admin Dashboard UI — complete)
|
||||
Plan: Phase 6 complete — Phase 7 next
|
||||
Status: **Phase 6 applied — ready to begin Phase 7**
|
||||
Last activity: 2026-03-16 — Phase 6 complete (rich dashboard: KPI row, SMS volume chart, revenue snapshot, school health table with sort/filter, quick actions, refresh button)
|
||||
|
||||
## Loop Position
|
||||
|
||||
```
|
||||
PLAN ──▶ APPLY ──▶ UNIFY
|
||||
· · · [No active plan — Phase 6 planning next]
|
||||
· · · [No active plan — Phase 7 planning next]
|
||||
```
|
||||
|
||||
## Progress
|
||||
@@ -24,7 +24,7 @@ PLAN ──▶ APPLY ──▶ UNIFY
|
||||
- Phase 3 (On-Prem License Validation): [██████████] 100% ✓
|
||||
- Phase 4 (SMS Gateway): [██████████] 100% ✓
|
||||
- Phase 5 (On-Prem SMS Polling Agent): [██████████] 100% ✓
|
||||
- Phase 6 (Super Admin Dashboard UI): [░░░░░░░░░░] 0%
|
||||
- Phase 6 (Super Admin Dashboard UI): [██████████] 100% ✓
|
||||
- Phase 7 (School Admin Portal UI): [░░░░░░░░░░] 0%
|
||||
- Phase 8 (Billing Engine + Invoice PDF): [░░░░░░░░░░] 0%
|
||||
- Phase 9 (Email Dispatcher): [░░░░░░░░░░] 0%
|
||||
@@ -37,8 +37,8 @@ PLAN ──▶ APPLY ──▶ UNIFY
|
||||
|
||||
## Next Action
|
||||
|
||||
Run: `/paul:plan` for Phase 6 — Super Admin Dashboard UI
|
||||
Resume file: .paul/ROADMAP.md → Phase 6
|
||||
Run: `/paul:plan` for Phase 7 — School Admin Portal UI
|
||||
Resume file: .paul/ROADMAP.md → Phase 7
|
||||
|
||||
## Repo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user