Peer Mentor Selector Widget
Component Detail
User Interface
low complexity
Shared Component
mobile
1
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Reusable mobile widget that loads and displays peer mentors scoped to the coordinator's local association. Supports name search and single selection, returning the chosen peer mentor ID to the parent screen.
peer-mentor-selector-widget
Responsibilities
- Fetch the list of peer mentors managed by the current coordinator within their local association
- Support text-based search and filtering by name
- Expose an onPeerMentorSelected callback for the parent screen to consume
- Handle empty state when no peer mentors are assigned to the coordinator
Interfaces
loadManagedPeerMentors(coordinatorId: String): Future<List<PeerMentor>>
searchPeerMentors(query: String): List<PeerMentor>
onPeerMentorSelected(mentor: PeerMentor): void