Pause Function
Feature Detail
Description
The Pause Function allows peer mentors to temporarily deactivate their availability without formally resigning from the organization. This addresses real-life situations such as illness, family commitments, or burnout where a full exit is unnecessary and counterproductive. When paused, the peer mentor is hidden from active assignment pools and coordinators receive an automatic notification. The status is reversible at any time through the Resume Function, preserving all historical activity records and service history without interruption.
Sources & reasoning
Section 2.3 and the priority matrix (line 150) confirm this as SHOULD HAVE at Fase 2 for NHF, HLF, and Barnekreftforeningen. Fase 2 maps to v1.0 by roadmap ordinal (Fase 1=MVP, Fase 2=v1.0, Fase 3=v1.1). The feature directly reduces volunteer churn and is a cross-org requirement.
-
docs/source/likeperson.md · line 80Likepersoner skal kunne sette seg på pause (midlertidig deaktivering) uten å melde seg ut. Koordinator må varsles.
-
docs/source/likeperson.md · line 150| Pausefunksjon for likepersoner | ✓ | ✓ | - | ✓ | ✓ | SHOULD HAVE | 2 |
Analysis
Peer mentor burnout and unmanaged exits represent a significant operational risk for organizations managing volunteer networks. Without a structured pause mechanism, mentors who need a temporary break may permanently disengage, causing loss of trained volunteers who are difficult to replace. This feature reduces attrition by providing a dignified, low-friction way to step back without severing the relationship. Coordinators gain real-time visibility into availability changes, enabling accurate assignment planning. Three of the four client organizations explicitly requested this feature, confirming broad strategic value across the multi-tenant platform.
PeerMentorStatusService handles the status transition and calls the PushNotificationService to notify the coordinator immediately. Status is persisted in the peer_mentor_statuses table (one-to-one with users) via PATCH /api/v1/peer-mentors/{id}/status. The backend enforces that only the peer mentor themselves or their assigned coordinator can initiate a pause. Riverpod state invalidation refreshes home dashboard widgets and contact pool queries that depend on active status. The feature is gated under the peer-mentor-status area ID in the module registry; disabling the area hides the PauseStatusScreen entirely without a client release.
Components (7)
Shared Components
These components are reused across multiple features
User Stories
No user stories have been generated for this feature yet.