Bufdir Report Preview Panel
Component Detail
User Interface
medium complexity
frontend
1
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Embedded panel within the report builder that displays a structured breakdown of aggregated activity counts, durations, and contact categories mapped to Bufdir field names. Allows the Org Admin to verify figures match expectations before committing to export.
bufdir-report-preview-panel
Sources & reasoning
A dedicated preview panel is warranted by the high-stakes nature of grant compliance submissions. Showing mapped field values before export reduces risk of submitting incorrect totals, as stated in the feature description.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render aggregated totals mapped to Bufdir output field names
- Group data by activity type, contact category, and duration band
- Highlight any missing or zero-value required fields
- Support re-fetch when period selection changes
Interfaces
loadPreview(orgId: string, period: DateRange): Promise<BufdirFieldMap>
renderFieldMapping(fields: BufdirFieldMap): ReactNode
Relationships
Related Data Entities (2)
Data entities managed by this component