PeerMentorHomeScreen
Component Detail
User Interface
medium complexity
mobilefrontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
The entry screen rendered for authenticated users with the Peer Mentor role. It displays the mentor's own activity summary, upcoming scheduled tasks, and quick-access widgets assembled from enabled modules. Layout adapts to the module registry state so only mounted widgets appear.
peer-mentor-home-screen
Sources & reasoning
Line 293 names role-specific home content as a screen. Line 240 classifies home-navigation as always-on core, making this non-deferrable. Line 322 confirms MVP scope includes both Peer Mentor and Coordinator roles. Line 308 ties the home surface directly to the module registry, confirming MVP target release.
-
docs/source/likeperson.md · line 293Role-specific home content (peer mentor vs coordinator variants)
-
docs/source/likeperson.md · line 240**Mobile App:** `authentication-access-control`, `home-navigation`, `accessibility`, `help-support`, `profile-management`.
-
docs/source/likeperson.md · line 3222 mobilrolle-profiler: Peer Mentor, Coordinator (Organization Admins logger på som Coordinator i app-konteksten)
-
docs/source/likeperson.md · line 308Module registry - the app's navigation, home surfaces, and entry points are assembled at runtime from the enabled module set
Responsibilities
- Render personal activity summary cards fetched from HomeDashboardService
- Display upcoming tasks and scheduled appointments in a chronological list
- Mount only the widgets approved by ModuleRegistryService for the current user
- Navigate to relevant detail screens when a widget or task is tapped
Interfaces
render(): JSX.Element
onWidgetPress(widgetId: string): void
onTaskPress(taskId: string): void