medium complexity MVP extracted Admin Dashboard Confidence: 100%
9
Components
43
Shared
0
User Stories
Yes
Analyzed

Description

The Dashboard KPIs feature provides organization administrators with a centralized overview of key performance indicators across their peer mentor network. The dashboard aggregates data from activity registrations, user engagement, and expense submissions to present a real-time snapshot of organizational health. Administrators can monitor trends, identify underperforming areas, and make data-driven decisions without navigating multiple separate reports. This supports both daily operational oversight and Bufdir reporting preparation for all four organizations on the platform.

Sources & reasoning

admin-dashboard is always-on for Admin Web Portal (line 231). Fase 1 MVP admin scope explicitly includes 'Aktivitetsoversikt og grunnleggende statistikk' (line 317) and the product description lists 'Coordinator and organization-level dashboards and KPIs' as a core capability (line 186). Blueprint marks dashboard-kpis as [MVP]. All three signals converge on MVP.

  • docs/source/likeperson.md · line 186
    Coordinator and organization-level dashboards and KPIs
  • docs/source/likeperson.md · line 317
    Aktivitetsoversikt og grunnleggende statistikk
  • docs/source/likeperson.md · line 231
    Admin Web Portal: `admin-dashboard`, `admin-user-management`, `admin-organization`, `admin-security`

Analysis

Business Value

Organization administrators currently compile metrics manually from Excel and Word submissions sent by peer mentors. The Dashboard KPIs feature eliminates this overhead by automatically aggregating operational metrics from the activity registration system, giving admins immediate visibility into their organization's performance. This directly supports the Bufdir reporting mandate shared by all four organizations and reduces administrative burden. The strategic value extends to multi-organization management, where global administrators can benchmark performance across tenants and identify patterns for scaling the platform effectively.

Implementation Notes

The KPI aggregation service runs server-side on the Next.js backend, querying PostgreSQL for activity counts, user engagement rates, expense totals, and assignment completion metrics. Aggregation queries should use materialized views or indexed summary tables to avoid full table scans at scale. The KPI Dashboard Page uses React server components for SSR with client-side polling for near-real-time refresh. KPI cards are scoped per organization via tenant isolation at the query level, and configured to surface only metrics for enabled modules per the module_configurations table. All KPI components must pass WCAG 2.2 AA contrast and keyboard navigation requirements.

Components (52)

User Interface (3)

Service Layer (3)

Data Layer (1)

Infrastructure (2)

Shared Components

These components are reused across multiple features

User Stories

No user stories have been generated for this feature yet.