User Interface low complexity mobile
1
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

A reusable widget that presents a searchable, scrollable list of peer mentors managed by the current coordinator. It enforces org-boundary filtering so only mentors within the coordinator's organization are shown, and emits the selected mentor's user ID upstream.

Feature: Coordinator Proxy Reporting

peer-mentor-picker-widget

Sources & reasoning

The coordinator must select a specific peer mentor before filling in the activity form. This widget encapsulates the roster fetch, org-scoped filtering, and selection emission, keeping the proxy screen focused on the wizard flow.

No source references — this artifact was included based on reasoning alone (see above).

Responsibilities

  • Fetch and display the coordinator's managed peer mentor roster from the backend
  • Filter the roster to the coordinator's organization boundary
  • Support search/filter by name to handle large rosters
  • Emit the selected peer mentor's user ID to the parent screen
  • Cache the roster for offline availability

Interfaces

fetchManagedMentors(coordinatorId: String) → List<PeerMentorSummary>
onMentorSelected(mentorId: String) → void
searchMentors(query: String) → List<PeerMentorSummary>

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component