View Peer Mentor Detail Screen with Certification and Activity Summary
The peer mentor detail screen is a specialized view that extends the general contact detail with peer-mentor-specific sections. It must display a profile header with the mentor's photo and key identifiers, a certification status badge that clearly signals valid, expiring, or expired certification, a certification alert banner when expiry is within 30 days, a list of currently assigned contacts, and an activity summary panel showing hours logged over configurable time windows. The screen must aggregate data from multiple repositories and present it in a consolidated, decision-ready format.
User Story
Acceptance Criteria
- Given I open a peer mentor's detail screen, when the data loads, then I see a profile header, certification status badge, assigned contacts list, and activity summary panel
- Given the peer mentor's certification expires within 30 days, when I view their detail screen, then a certification alert banner is prominently displayed at the top of the screen
- Given the peer mentor has an expired certification, when I view their detail screen, then the certification status badge shows a red expired state and the mentor is visually distinguished from active mentors
- Given I view the assigned contacts list, when the mentor has active assignments, then each assignment shows the contact name, assignment start date, and current status
- Given I view the activity summary panel, when I select a different time window, then the summary updates to show hours and activity counts for the selected period
Business Value
HLF reported in their user survey that 40% of peer mentors were dissatisfied with coordinator follow-up. A dedicated peer mentor detail screen with certification and activity visibility gives coordinators the information density required for proactive follow-up rather than reactive crisis management. Certification status visibility is especially critical given HLF's requirement that expired certifications automatically hide mentors from public listings.
Components
- Peer Mentor Detail Screen ui
- Peer Mentor Profile Header ui
- Certification Status Badge ui
- Certification Alert Banner ui
- Assigned Contacts List ui
- Mentor Activity Summary Panel ui
- Peer Mentor Detail BLoC service
- Certification Status Derivation Service service
- Peer Mentor Profile Aggregation Service service
- Peer Mentor Repository data
- Certification Record Repository data
- Mentor Activity Log Repository data
- Assignment History Repository data