Receive Progress Feedback During Asynchronous Report Generation
Large organizations with many registered activities may take significant time to aggregate data for a full reporting period. The Bufdir Report Generator Service runs asynchronously and emits progress updates that are surfaced in the Bufdir Report Screen. The progress indicator shows the current processing stage (e.g., querying activities, calculating totals, finalizing snapshot) and an estimated completion time where possible. The user can navigate away and return to check status without losing the generation job.
User Story
Acceptance Criteria
- Given report generation has been triggered, when the system is processing, then a progress indicator with descriptive stage labels is shown on the Bufdir Report Screen
- Given the user navigates away from the report screen during generation, when they return, then the current generation status is still accurately reflected
- Given report generation is running, when the user checks the progress indicator, then the displayed stage corresponds to the actual server-side processing phase
- Given report generation completes while the user is on the report screen, when it finishes, then the UI automatically transitions from the progress state to the completed report view
- Given generation takes longer than expected due to large dataset size, when the user waits, then the UI remains responsive and does not appear frozen
Business Value
Large organizations like NHF with 1,400 local associations may have extensive activity datasets. Without progress feedback, users assume the app has crashed and restart the process, causing duplicate generation jobs and wasted resources. Clear progress communication increases user confidence and reduces support requests.