View Peer Mentor Profile Summary from Map Marker
The mentor-info-popup is a lightweight overlay rendered directly on the map when a marker is tapped. It must load instantly from already-fetched data (no additional API call) and display: the mentor's display name, certification status badge, number of currently assigned contacts, availability status (active/paused), distance from a reference point if one is selected, and a 'View Profile' button that deep-links to the peer mentor detail screen. The popup is dismissible by tapping outside it or pressing back. On small screens, the popup occupies no more than 40% of the visible map area. Encrypted or sensitive fields are not shown in the popup — coordinators must navigate to the full profile for those.
User Story
Acceptance Criteria
- Given the coordinator taps a peer mentor marker, when the popup appears, then it shows name, certification status badge, assigned contact count, and active/paused status without an additional network request
- Given the popup is open, when the coordinator taps 'View Profile', then they are navigated to the peer mentor detail screen and can return to the map via back navigation
- Given the popup is open on a small screen (375px width), when rendered, then it does not obscure more than 40% of the visible map area and remains fully readable
- Given a paused peer mentor's marker is tapped, when the popup renders, then the paused status is prominently indicated with the pause-status-banner styling and the mentor is not suggested for new assignments
- Given a mentor whose certification has expired is tapped, when the popup renders, then a certification-alert-banner is shown warning the coordinator that this mentor cannot be assigned
- Given the coordinator taps outside the open popup, when the dismiss gesture is detected, then the popup closes and the map returns to its previous state with no navigation side-effects
Business Value
Coordinators evaluating peer mentors for assignment need key qualification data immediately. Requiring navigation to a full profile page for every candidate creates friction that slows matching and discourages thorough evaluation. The inline popup reduces the number of taps required to assess a candidate from 4-6 to 1, directly reducing matching time and improving the coordinator's ability to make good assignments quickly.