BufdirReportPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Admin-only page in the Web Portal for generating and downloading Bufdir compliance reports. It provides date range selection, organization filtering, and a preview of aggregated activity data before final report generation. Only visible to users with the org-admin role.
bufdir-report-page
Sources & reasoning
Line 46 establishes Bufdir reporting as a universal must-have across all four orgs. Line 144 confirms MUST HAVE with Phase 2 placement. Line 342 places it explicitly in Phase 2 (v1.0). Blueprint assigns v1.0, consistent with Phase 2 mapping. Generation is architecturally separate from export to allow report preview before submission.
-
docs/source/likeperson.md · line 46Alle fire organisasjoner mottar Bufdir-tilskudd og bruker mye tid på rapportering. Ønsket er det samme: trykk på én knapp og få ut det Bufdir trenger.
-
docs/source/likeperson.md · line 144Bufdir-rapportering (eksport, admin) | ✓ | ✓ | ✓ | ✓ | ✓ | MUST HAVE | 2
-
docs/source/likeperson.md · line 342Bufdir-rapportering og eksport med ett klikk (kun i Admin Web Portal; mobilen bidrar med selve aktivitetsregistreringen)
Responsibilities
- Render Bufdir report configuration form with date range and org filters
- Display preview summary of activity data included in the report period
- Trigger report generation and show download link or inline preview
- Show validation errors when required data is missing or period is invalid
- Restrict access to org-admin role, redirect unauthorized users
Interfaces
renderReportForm(orgId: string): void
onGenerateReport(params: BufdirReportParams): Promise<void>
onDownloadReport(reportId: string): void
showPreview(summary: BufdirReportSummary): void