PeerMentorHomeScreen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
The entry-point screen rendered for authenticated peer mentor users. It displays a personal activity feed, quick-log action shortcuts, and a prioritised list of upcoming follow-up tasks. The layout is assembled at runtime from the enabled module set so that only relevant widgets are shown.
peer-mentor-home-screen
Sources & reasoning
The source explicitly defines role-specific home content as a named screen type and specifies Peer Mentor and Coordinator as the two mobile roles. The module registry pattern described at lines 307-308 requires a home surface that assembles dynamically at runtime. Blueprint marks this feature MVP; Fase 1 core mobile scope confirms role-aware navigation must ship at launch.
-
docs/source/likeperson.md · line 291Role-specific home content (peer mentor vs coordinator variants)
-
docs/source/likeperson.md · line 287Bottom nav with 5 tabs: Home, Contacts, Add (modal launcher for Activity and Event wizards), Work, Notifications
-
docs/source/likeperson.md · line 256On mobile, an Org Admin is surfaced as a Coordinator - they use the same mobile experience as coordinators without a separate UI path.
Responsibilities
- Render the peer mentor activity feed with recent interactions and log entries
- Display quick-log shortcut buttons for common logging actions
- Show upcoming follow-up task cards sorted by due date
- Request the enabled widget list from HomeDashboardService and conditionally render sections
- Handle empty and loading states gracefully for users at all digital skill levels
Interfaces
render(): ReactNode
onQuickLogPress(logType: string): void
onTaskPress(taskId: string): void
refreshFeed(): Promise<void>