MentorMatchScoreCard
Component Detail
Description
Individual card component representing one ranked mentor candidate within the GeographyMatchPanel. Displays name, distance, composite match score, certification status, and current workload level. Tapping the card expands a detail drawer with full mentor profile.
mentor-match-score-card
Sources & reasoning
Line 99 directly ties geographic visualization to matching and assignment dispatch (oppdragstildeling), providing the provenance for this feature as a distinct matching capability beyond simple map display. Line 358 places it in Fase 3, normalizing to v1.1. The blueprint lists this feature under Geographic Map View at [v1.1]. Kept as a separate feature from peer-mentor-map because matching logic and the dispatch integration are distinct from rendering the map layer.
-
docs/source/likeperson.md · line 99Geografisk kartvisning av likepersoner for matching og oppdragstildeling (særlig store fylker).
-
docs/source/likeperson.md · line 358Geografisk kartvisning (Blindeforbundet)
Responsibilities
- Render distance and match score with visual priority indicators
- Show certification validity expiry badge
- Indicate workload level relative to threshold
- Handle tap-to-expand interaction for mentor detail drawer
- Highlight disqualifying conditions (e.g. expired cert, over threshold)
Interfaces
render(candidate: RankedMentorSuggestion): void
onSelect(callback: (mentorId: string) => void): void
setHighlighted(highlighted: boolean): void