MEDIUM story-bufdir-report-export-coordinator-007 3 pts
3
Story Points
Medium
Priority
Bufdir Report Export
Feature

User Story

As a Coordinator
I want to see a real-time progress indicator during Bufdir report generation that shows which processing stage is currently running
So that I know the export is actively processing, understand how long it will take, and can identify if the process has stalled

Acceptance Criteria

  • Given an export is triggered, when processing begins, then a progress indicator immediately appears showing the current stage name and a progress bar
  • Given the export moves through processing stages, when each stage completes, then the stage label updates to the next stage and the progress bar advances proportionally
  • Given the export takes longer than 30 seconds, when the coordinator is waiting, then an estimated time remaining is displayed based on the volume of records being processed
  • Given the export edge function returns an error, when the failure is detected, then the progress screen transitions to an error state showing the error description and a retry button
  • Given the export completes successfully, when the final stage finishes, then the progress indicator transitions to a success state showing the file size and a download button
  • Given the coordinator navigates away during processing, when they return to the export screen, then the progress state is restored and the coordinator can see if the export completed while they were away

Business Value

Export processing feedback prevents duplicate submissions caused by coordinators re-triggering exports they believe have failed. For large organizations with thousands of records, processing can take 20–40 seconds — sufficient time for an impatient user to trigger multiple parallel exports. Clear progress visibility also builds trust in the system, which is critical for adoption among coordinators who are replacing manually verified Excel workflows they have used for years.