CRITICAL story-bufdir-report-preview-organization-admin-002 5 pts
5
Story Points
Critical
Priority
Bufdir Report Preview
Feature

User Story

As a Organization Administrator
I want to see a consolidated validation summary of all errors and warnings in the Bufdir report before I submit
So that I can resolve data quality issues proactively rather than receiving rejection notices from Bufdir after submission

Acceptance Criteria

  • Given the preview screen has loaded, When there are validation errors, Then the bufdir-validation-summary-banner displays at the top of the screen with a count of errors and warnings
  • Given the validation summary banner is visible, When I tap a specific error item, Then the preview scrolls to and highlights the corresponding field row
  • Given all validation issues are resolved, When I view the preview, Then the validation banner shows a green 'All checks passed' state and the export action is fully enabled
  • Given there are only warnings (no errors), When I view the preview, Then the export action is enabled but the warnings banner is still visible so I can make an informed decision
  • Given a field fails Bufdir category mapping validation, When that field is shown in the preview, Then the field row displays an inline error icon with a short explanation of the constraint
  • Given validation runs on load, When the preview screen first opens, Then validation completes within 2 seconds for reports covering up to 12 months of data

Business Value

Validation errors caught before submission save coordinators from submitting incorrect reports, which would require correction cycles with Bufdir, delay funding disbursement, and increase administrative burden. A proactive validation display directly reduces the time coordinators spend on reporting compliance and improves submission quality.