User Interface medium complexity mobile
2
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Optional final step for attaching supporting documents such as invitations or screenshots required for Bufdir audit trails. Supports file picker and camera capture. Displays a thumbnail grid of pending attachments with removal affordance. Attachment upload is deferred to Attachment Upload Service after the activity is saved.

Feature: Activity Registration Wizard

wizard-attachments-step

Responsibilities

  • Render file picker and camera capture buttons with accessible labels
  • Display thumbnail grid of queued attachments with WCAG 2.2 compliant remove affordances
  • Enforce file type allowlist (PDF, JPEG, PNG) and max size before adding to queue
  • Pass queued file references to Wizard Step Controller for post-save upload
  • Indicate that attachments are optional and allow the user to skip this step

Interfaces

AttachmentsStepWidget({required WizardStepController controller, int maxAttachments})
onAttachmentQueued(FileRef fileRef)
onAttachmentRemoved(FileRef fileRef)

Relationships

Dependencies (2)

Components this component depends on

Related Data Entities (1)

Data entities managed by this component