Export Confirmation Modal
Component Detail
User Interface
low complexity
frontend
2
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
A confirmation modal displayed before triggering the Bufdir report download. Shows the report period, key aggregate totals, and an explicit confirmation step to prevent accidental re-export of already-submitted reports.
export-confirmation-modal
Sources & reasoning
A confirmation modal is required to enforce the review gate described in the feature spec - displaying period and aggregate totals before download prevents accidental submission of incomplete reports, which is the primary governance concern of this feature.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Display report period and aggregate totals before download
- Present re-export warning if export_status indicates prior submission
- Require explicit confirmation before initiating file download
- Show unlock prompt for re-export of previously submitted reports
Interfaces
open(reportId: string): void
onConfirm(): void
onCancel(): void
renderSummaryTotals(totals: BufdirTotals): Widget
Relationships
Dependencies (2)
Components this component depends on