Preview complete Bufdir report before submission
Coordinators need a full-fidelity preview of the Bufdir report that mirrors the official submission format. The preview screen renders all report sections using the bufdir-report-section-widget and bufdir-field-row-widget components, pulling aggregated data from the bufdir-preview-service. The preview must show all required Bufdir fields including activity counts, participant numbers, geographic distribution, and category breakdowns. This gives coordinators confidence that the submission reflects reality before the irreversible export step.
User Story
Acceptance Criteria
- Given I have selected a reporting period and the data has been aggregated, When I open the Bufdir report preview, Then I see a structured preview screen with all official Bufdir report sections rendered in order
- Given the preview screen is open, When I scroll through the report, Then each section displays field labels matching Bufdir's official field names alongside the aggregated values from the app's activity data
- Given the preview is rendering data, When a required Bufdir field has no data, Then the field row is visually flagged and included in the validation summary banner
- Given I am viewing the preview, When I tap a report section header, Then the section collapses or expands to support navigation in long reports
- Given the preview has loaded, When I tap 'Export' or 'Submit', Then the system confirms I have reviewed the preview before proceeding to the export step
- Given I am on the preview screen, When I tap back, Then I return to the period selection screen without losing any configuration
Business Value
Bufdir reporting directly determines grant funding for all participating organizations. Errors in submitted reports can result in funding clawbacks, compliance issues, and damage to the organization's relationship with Bufdir. A preview step is a critical quality gate that prevents costly submission mistakes and gives coordinators the confidence to submit accurately.