User Interface medium complexity frontend
4
Dependencies
0
Dependents
3
Entities
0
Integrations

Description

The primary dashboard view for Organization Administrators and Coordinators in the Next.js admin panel. Renders a role-scoped overview of KPIs, trend charts, and summary cards using server-side data fetching with SWR-based client revalidation for freshness. Coordinators see local association data; org admins see aggregated figures across all associations.

Feature: Admin Dashboard & KPIs

admin-dashboard-screen

Responsibilities

  • Render role-scoped KPI overview with summary cards and trend charts
  • Fetch initial dashboard data server-side and revalidate client-side via SWR
  • Provide date range controls for filtering KPI time windows
  • Surface underperforming areas and peer mentors needing follow-up

Interfaces

renderDashboard(organizationId, roleScope)
handleDateRangeChange(startDate, endDate)
refreshDashboardData()
navigateToDetail(entityType, entityId)
exportDashboardSnapshot()

Relationships

Dependencies (4)

Components this component depends on

Related Data Entities (3)

Data entities managed by this component