Event Sign-up Widget
Component Detail
User Interface
medium complexity
mobile
4
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Stateful BLoC widget embedded in the Event Detail Screen that manages participant registration flow. Renders sign-up/sign-off button, displays real-time participant count with optimistic updates, and surfaces a contact picker for coordinator proxy registrations.
event-sign-up-widget
Responsibilities
- Render sign-up and sign-off actions with current registration state
- Display optimistic participant count with rollback on API failure
- Surface organization-scoped contact picker for coordinator proxy sign-ups
- Queue sign-up mutations in the outbox when offline and sync on reconnect
Interfaces
signUp(eventId, contactId?)
signOff(eventId, participantId)
getParticipantCount(eventId)
isRegistered(eventId, userId)
Relationships
Dependencies (4)
Components this component depends on