Home Screen (Coordinator)
Component Detail
Description
The primary landing screen for coordinator and org admin users (org admins surface as coordinators on mobile), showing team summary widgets, pending approval counts, and coordinator-specific quick actions. Assembled at runtime from enabled modules with no org-specific code paths.
home-screen-coordinator
Sources & reasoning
Coordinators and org admins share a single mobile home variant focused on team visibility and pending approvals, reducing administrative overhead. Keeping this as a distinct screen from the peer mentor variant - driven by Riverpod role context - avoids conditional logic inside a single screen and keeps each variant testable independently.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render role-specific home widgets for the coordinator role
- Display team summary and pending approval indicators
- Mount only widgets registered by enabled modules for the tenant
- Enforce WCAG 2.2 AA touch targets and semantic labels
- React to role switch events 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