HIGH story-coordinator-statistics-dashboard-organization-admin-004 5 pts
5
Story Points
High
Priority
Coordinator Statistics Dashboard
Feature

User Story

As a Organization Administrator
I want to see a donut chart breaking down activities by type (e.g., home visit, phone call, group session, digital meeting) for the selected period
So that I can understand which types of peer support are being delivered most and ensure the mix aligns with Bufdir category requirements

Acceptance Criteria

  • Given the coordinator views the statistics screen, When the donut chart renders, Then each activity type in the selected period is shown as a segment with a percentage label
  • Given the organization uses custom activity type labels, When the chart legend renders, Then labels match the organization's configured terminology not generic defaults
  • Given the coordinator taps a donut segment, When the filter applies, Then the peer mentor stats list below updates to show only activities of the tapped type
  • Given WCAG 2.2 AA is required, When chart colors are applied, Then all segment colors meet a minimum contrast ratio of 3:1 against the chart background
  • Given no activities exist for a type in the selected period, When the chart renders, Then that type is either omitted or shown as a zero-width segment with a note in the legend

Business Value

Bufdir reporting requires activities to be categorized by type. A coordinator who can see at a glance that 90% of activities are phone calls and almost no home visits are being registered can coach their team accordingly before the reporting deadline. This chart bridges day-to-day operational oversight with annual grant compliance requirements.