Proxy Registration BLoC
Component Detail
Service Layer
medium complexity
mobile
2
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
BLoC managing UI state for both individual proxy and bulk registration flows. Handles loading states, field validation feedback, duplicate conflict presentation, and submission outcomes.
proxy-registration-bloc
Responsibilities
- Expose loading, success, conflict, and error states to the UI
- Coordinate calls to proxy and bulk registration services
- Buffer intermediate bulk participant selections in state
- Reset state after successful submission or explicit cancellation
Interfaces
add(ProxyRegistrationEvent event)
stream ProxyRegistrationState
onPeerMentorSelected(String mentorId)
onFormChanged(ProxyActivityDraft draft)
onSubmitProxy()
onSubmitBulk()
onDuplicateOverride()
onReset()
Relationships
Dependencies (2)
Components this component depends on