AdminDashboardPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
The primary landing screen for organization administrators after login. It composes KPI cards into a structured overview grid and handles initial data loading state, error boundaries, and refresh triggers. Serves as the entry point for situational awareness without requiring navigation to sub-sections.
admin-dashboard-page
Sources & reasoning
Line 195 explicitly names dashboards and KPIs as a core Admin Web Portal capability. Line 158 classifies the admin panel as MUST HAVE in Fase 1 (MVP). Line 326 confirms activity overview and basic statistics are in the MVP admin scope, directly motivating a KPI-centric landing screen for immediate operational visibility without manual navigation.
-
docs/source/likeperson.md · line 158Admingrensesnitt for org (Admin Panel - Next.js) | ✓ | ✓ | ✓ | ✓ | ✓ | MUST HAVE | 1
-
docs/source/likeperson.md · line 195Coordinator and organization-level dashboards and KPIs
-
docs/source/likeperson.md · line 326Aktivitetsoversikt og grunnleggende statistikk
Responsibilities
- Render the full dashboard layout with KPI card grid
- Trigger data fetch on mount and on manual refresh
- Handle loading, empty, and error states for the dashboard view
- Provide navigation affordances to detailed report sections from each KPI area
Interfaces
render(): JSX.Element
onRefresh(): void
navigateToDetail(section: KpiSection): void