Peer Mentor Selection Widget
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Reusable widget that renders a searchable, filterable list of peer mentors by applying a 'peer_mentor' role filter to the Contact Repository. Supports both single-select mode (proxy registration) and multi-select mode (bulk registration) controlled via a configuration parameter.
peer-mentor-selection-widget
Responsibilities
- Query Contact Repository filtered to peer_mentor role
- Support single-select and multi-select modes via widget parameter
- Provide search and filter controls for large mentor lists
- Emit selection change events to parent BLoC
Interfaces
PeerMentorSelectionWidget({mode, onSelectionChanged})
buildMentorTile(mentor)
onSearchQueryChanged(query)
getSelectedMentors()
clearSelection()
setInitialSelection(mentorId)
Related Data Entities (2)
Data entities managed by this component