CRITICAL story-bufdir-report-preview-coordinator-007 8 pts
8
Story Points
Critical
Priority
Bufdir Report Preview
Feature

User Story

As a Coordinator
I want to see clearly aggregated totals per Bufdir reporting section — including unique participant counts, total activity hours, and geographic distribution — in the preview
So that I can validate that the numbers reflect the actual scope of peer-mentor activity in my organization for the reporting period

Acceptance Criteria

  • Given I open the Bufdir preview for a selected period, When the preview loads, Then I see total activity count, unique peer mentor count, unique participant count, and total support hours at the top of the report
  • Given participant deduplication is applied, When a participant appears in 5 different activities, Then they are counted as 1 unique participant in the Bufdir summary, not 5
  • Given the geographic distribution section, When I view it in the preview, Then participant counts are broken down by county/municipality in a format that matches Bufdir's geographic reporting requirements
  • Given large organizations with multiple chapters, When the preview aggregates data, Then data is correctly isolated per reporting organization unit using the org-data-isolation-guard
  • Given the aggregation is computing, When the preview screen first opens, Then an aggregation-progress-indicator shows progress rather than a blank screen, with a completion time estimate
  • Given aggregation completes successfully, When I view the totals, Then a timestamp shows when the aggregation was last computed so I know if the data reflects very recent activity registrations

Business Value

Accurate aggregated counts are the core substance of the Bufdir report. Errors in unique participant counting or geographic attribution are among the most common reasons for report amendment requests from Bufdir. Showing coordinators these aggregations before submission — including the deduplication logic — builds trust in the system and ensures that submitted numbers are defensible during any Bufdir audit or review.