PersonalStatsScreen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
A mobile dashboard screen that displays a peer mentor's own activity history, contribution metrics, and impact summaries. It renders charts and stat cards showing hours contributed, activities logged, and trends by week, month, or year. The screen lets the volunteer switch time range filters and drill into individual activity entries.
personal-stats-screen
Sources & reasoning
Line 322 explicitly lists personal and coordinator statistics as a Phase 1 MVP deliverable within the Fase 1 section heading at line 314. This maps to target_release MVP by ordinal position (first/launch phase). The feature addresses the cross-organization motivation problem and provides the data foundation for Phase 3 gamification.
-
docs/source/likeperson.md · line 322Enkel statistikkvisning per likeperson og per koordinator
-
docs/source/likeperson.md · line 314### Fase 1 - MVP (alle organisasjoner, vår)
Responsibilities
- Render time-range selector (week, month, year) and trigger data reload on change
- Display stat cards for total hours, activity count, and impact metrics
- Show trend charts visualizing contribution history over the selected period
- Navigate to activity detail pages on row or card tap
Interfaces
loadStats(mentorId, timeRange): void
onTimeRangeChange(range: TimeRange): void
navigateToActivityDetail(activityId: string): void