AdminDashboardPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
The default landing page rendered after admin login in the Admin Web Portal. It composes KPI card widgets into a scannable grid layout and triggers data refresh on mount and via a manual refresh action.
admin-dashboard-page
Sources & reasoning
Lines 325-327 explicitly list "Aktivitetsoversikt og grunnleggende statistikk" (activity overview and basic statistics) as Admin Web Portal MVP scope. Lines 189-197 confirm "organization-level dashboards and KPIs" as a core admin portal capability. Both place this feature in Fase 1 / MVP, normalizing to target_release "MVP".
-
docs/source/likeperson.md · line 325-327Admin Web Portal (MVP scope): Brukeradministrasjon (invitere, deaktivere, rolletildeling) Organisasjonsinnstillinger og terminologikonfigurasjon Aktivitetsoversikt og grunnleggende statistikk
-
docs/source/likeperson.md · line 189-197
Responsibilities
- Render the KPI card grid layout with role-scoped data
- Trigger initial data fetch on page load and handle loading/error states
- Provide a manual refresh control to re-fetch all KPI metrics
- Gate visible data scope based on whether the logged-in user is an Org Admin or Global Admin
Interfaces
render(): JSX
handleRefresh(): void
getAdminScope(): AdminScope