Wizard Contact Selection Step
Component Detail
User Interface
medium complexity
mobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Step widget for selecting the contact associated with the activity. Renders a searchable, paginated contact list filtered to the peer mentor's assigned contacts. Validates selection before allowing forward navigation and emits the chosen contact to the Wizard Step Controller.
wizard-contact-step
Responsibilities
- Display searchable contact list filtered to current user's assigned contacts from local Drift cache
- Render list items meeting WCAG 2.2 AA target size and contrast requirements
- Validate that a contact is selected before emitting onContactSelected
- Pre-populate selection when a prefillContactId is passed from the caller
Interfaces
ContactStepWidget({required WizardStepController controller, String? initialContactId})
onContactSelected(Contact contact)