medium complexity extracted Activity Registration Confidence: 100%
4
Components
4
Shared
0
User Stories
Yes
Analyzed

Description

Document Attachments allows peer mentors to attach supporting files to activity records - invitations, photos, and screenshots - providing evidence for Bufdir verification and organizational review. Attachments are uploaded from the device file system or camera and linked to specific activity entries. This is critical for organizations that must provide documentary evidence alongside activity data for compliance audits and government funding justification.

Sources & reasoning

Line 107 names document attachments under NHF's unique needs with specific examples (invitations, Facebook screenshots) and the Bufdir verification rationale. The priority matrix at line 157 confirms NICE TO HAVE with Phase 2 placement. Blueprint assigns [v1.0] matching the Fase 2 ordinal.

  • docs/source/likeperson.md · line 107
    Dokumentvedlegg til aktiviteter: Invitasjoner, Facebook-skjermbilder m.m. - viktig for Bufdir-etterprøving.
  • docs/source/likeperson.md · line 157
    Dokumentvedlegg til aktiviteter | - | ✓ | - | - | ✓ | NICE TO HAVE | 2

Analysis

Business Value

NHF explicitly named document attachments as important for Bufdir verification, citing invitations and social media screenshots as common evidence types. Attaching files to activity records transforms raw log data into auditable records, strengthening the organization's position during Bufdir reviews and funding assessments. Without attachments, coordinators must separately track supporting materials, creating fragmented records and audit risk. The feature also enables richer documentation for complex events requiring formal evidence of participation or delivery.

Implementation Notes

Implemented via DocumentPickerWidget using Flutter's file_picker and image_picker plugins. AttachmentService handles upload via multipart REST API calls with progress feedback. FileStorageService manages cloud storage with size validation and permitted file type enforcement. AttachmentRepository stores metadata (name, type, size, URL, activity_id) in activity_documents. File metadata caches offline; uploads queue in the mutation outbox for deferred submission when connectivity resumes. Size limits and permitted types are enforced both client-side and server-side for security.

User Stories

No user stories have been generated for this feature yet.