BulkRegistrationScreen
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
The coordinator-facing screen for submitting a single activity record across multiple peer mentors at once. It provides peer mentor selection (multi-select list), shared activity detail fields, and a single submit action that fans out into individual records.
bulk-registration-screen
Sources & reasoning
Line 84 explicitly describes bulk registration as logging collectively for fixed activities with a weekly group training example, and notes Blindeforbundet deprioritizes it - justifying should_have rather than must_have. Line 346 places it in Fase 2 (v1.0 by ordinal mapping). Dependency on coordinator-proxy-reporting is intentional: bulk is a superset of proxy attribution and reuses its authorization and outbox mechanics.
-
docs/source/likeperson.md · line 84enten enkeltvis eller samlet for faste aktiviteter (f.eks. ukentlig trening med mange deltakere). Blindeforbundet bruker ikke proxy-rapportering på samme måte og prioriterer dette lavt.
-
docs/source/likeperson.md · line 346Pausefunksjon og bulkregistrering for koordinatorer
Responsibilities
- Render multi-select peer mentor picker filtered to the coordinator's assigned mentors
- Collect shared activity fields (date, type, duration) via a unified form
- Validate all required fields and surface inline errors before submission
- Dispatch bulk submission request and display per-record success or failure feedback
- Reset form state after successful submission for repeated use
Interfaces
selectMentors(mentorIds: string[]): void
setActivityDetails(details: ActivityFormValues): void
submitBulkRegistration(): Promise<BulkSubmitResult>
resetForm(): void