PauseConfirmationSheet
Component Detail
User Interface
medium complexity
frontendmobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
A bottom sheet modal that prompts the peer mentor to confirm their intent to pause their active status. It displays a brief explanation of what pausing means, collects an optional reason, and provides confirm/cancel actions. The sheet ensures the mentor makes a deliberate choice before the status change is committed.
pause-confirmation-sheet
Sources & reasoning
Lines 79-80 directly define this feature; the priority matrix at line 150 classifies it SHOULD HAVE Fase 2. Ordinal mapping: Fase 2 = v1.0. Three of four organizations confirmed the need.
-
docs/source/likeperson.md · line 79-80Likepersoner skal kunne sette seg på pause (midlertidig deaktivering) uten å melde seg ut. Koordinator må varsles.
-
docs/source/likeperson.md · line 150Pausefunksjon for likepersoner | ✓ | ✓ | - | ✓ | ✓ | SHOULD HAVE | 2
Responsibilities
- Render confirmation prompt with pause implications explained
- Collect optional pause reason from the mentor
- Dispatch pause action on confirmation and dismiss on cancel
- Show loading state while the status update is in progress
- Display success or error feedback after the operation completes
Interfaces
open(mentorId: string): void
close(): void
onConfirm(reason?: string): Promise<void>
onCancel(): void