Pause Status Widget
Component Detail
User Interface
low complexity
mobilefrontend
1
Dependencies
2
Dependents
2
Entities
0
Integrations
Description
A colored status banner injected at the top of the Peer Mentor Detail Screen that visually communicates the mentor's current availability state. It reads the latest peer_mentor_status_logs entry and renders a distinct color-coded banner for active, paused, or suspended states. Also surfaces the pause reason and expected return date when available.
pause-status-widget
Responsibilities
- Display current pause/active/suspended status prominently
- Show pause reason and expected return date when paused
- Provide quick-access button to open the Pause Toggle Screen
- Reflect certification-linked automatic pause states
Interfaces
PauseStatusWidget(mentorId: String)
build(context: BuildContext): Widget
onToggleTap(): void
Relationships
Dependents (2)
Components that depend on this component
Related Data Entities (2)
Data entities managed by this component