Home Screen (Peer Mentor)
Component Detail
Description
The primary landing screen for peer mentor users, showing quick-access activity logging, recent contacts, and enabled module widgets assembled at runtime from the module registry. Renders only area widgets for modules enabled by the current tenant, with no hardcoded org branches in the widget tree.
home-screen-peer-mentor
Sources & reasoning
Peer mentors are the primary daily users and the source doc emphasises minimal cognitive load as the highest-priority design principle. A dedicated peer mentor home screen surfaces only relevant actions - recent activities and contacts - assembled from the live module set, preventing information overload for users with limited digital experience.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render role-specific home widgets for the peer mentor role
- Display recent activities and contact shortcuts as quick actions
- Mount only widgets registered by enabled modules for the tenant
- Enforce WCAG 2.2 AA touch targets and semantic labels for VoiceOver and TalkBack
- React to role switch events and update without resetting the navigation stack
Interfaces
build(BuildContext) → Widget
onModuleSetChanged(Set<String> enabledModules) → void
onRoleSwitch(Role role) → void
Relationships
Dependencies (3)
Components this component depends on
Related Data Entities (2)
Data entities managed by this component