User Interface medium complexity mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations

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.

Feature: Assignment Matching by Geography

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.

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