Resume Function
Feature Detail
Description
The Resume Function is the inverse of Pause: a previously paused peer mentor can reactivate themselves through the Mobile App, returning to active status, becoming eligible for assignment matching again, and notifying their coordinator. The resume action validates that no blocking condition (e.g. expired certification) prevents reactivation; if a block exists, the user is guided to the remediation step (renew certificate, contact coordinator) rather than silently failing. Resume restores the mentor across all visibility surfaces - home dashboard, geographic map, coordinator team lists - with a fresh status timestamp.
Sources & reasoning
Resume is the mandatory inverse half of the pause lifecycle called out for Phase 2 / Core Product. Source ties pause to coordinator notification and to certification (HLF), so resume must validate certification before reactivation.
-
docs/source/likeperson.md · line 48-49Pausefunksjon for likepersoner (NHF + HLF + Barnekreftforeningen). Likepersoner skal kunne sette seg pÄ pause (midlertidig deaktivering) uten Ä melde seg ut.
-
docs/source/likeperson.md · line 260Pausefunksjon og bulkregistrering for koordinatorer
Analysis
Resume completes the pause lifecycle and is what makes the pause function safe to adopt: volunteers will only trust a pause feature if returning is equally frictionless. Without a clean resume path, paused mentors drift into permanent inactivity and the retention benefit collapses. The resume flow also acts as a controlled gate where the platform can surface remediation needs (expired certification, missing consent), turning a routine reactivation into an opportunity to keep records compliant. Coordinators gain timely visibility of returning capacity, enabling them to dispatch waiting assignments without manual re-onboarding.
Resume transitions the peer_mentor_status record back to active and emits a coordinator notification mirroring the pause flow. A pre-resume validation hook checks blocking conditions - most importantly an expired certificate, which intersects with Certification Expiry Auto-Pause - and surfaces a clear remediation path rather than allowing an invalid active state. The mentor is re-included in assignment matching, geographic visibility, and capacity reports on the next sync tick. Offline-initiated resumes queue via the sync outbox. UI mirrors the pause confirmation pattern, with the same WCAG 2.2 AA requirements (touch targets, focus, screen reader labels, error messaging with suggested fixes).
Quality Assurance
Peer Mentor (Likeperson) (primary)Peer Mentor (Likeperson)
Quick UAT
- Logg inn i Meander-appen som en likeperson som stÄr i pauset status.
- Ă pne Profil â Likepersonstatus og bekreft at status vises som 'Pauset'.
- Trykk 'Gjenoppta' for Ă„ starte reaktivering.
- Bekreft i dialogen 'Vil du gjenoppta likepersonsrollen?' ved Ă„ trykke 'Ja, gjenoppta'.
- Bekreft at status nÄ vises som 'Aktiv' og at en bekreftelsesmelding informerer om at koordinator er varslet.
Quick UAT â Accessibility
-
Logg inn i Meander-appen som en likeperson som stÄr i pauset status.
- Screen reader VoiceOver/TalkBack annonserer 'Logg inn, skjerm'; e-post og passord-felt har tydelige labels.
- Keyboard / focus Tab-rekkefĂžlge: e-post â passord â logg inn-knapp.
- Focus visibility Synlig fokusring pÄ alle inputfelt og knapper.
-
Ă pne Profil â Likepersonstatus og bekreft at status vises som 'Pauset'.
- Screen reader 'Likepersonstatus: Pauset' annonseres som statusoverskrift, ikke kun ved farge.
- Zoom Statusblokk er lesbar ved 200 % zoom uten horisontal scroll.
- Contrast Status 'Pauset' formidles med bÄde ikon og tekst, ikke kun farge; tekstkontrast ℠4.5:1.
-
Trykk 'Gjenoppta' for Ă„ starte reaktivering.
- Focus visibility Synlig fokusring pÄ 'Gjenoppta'-knapp; knappen har tilgjengelig navn 'Gjenoppta likepersonsstatus'.
- Touch target Knappen er minst 24Ă24 CSS px (mĂ„l 44Ă44).
-
Bekreft i dialogen 'Vil du gjenoppta likepersonsrollen?' ved Ă„ trykke 'Ja, gjenoppta'.
- Screen reader Dialog annonseres som modal; fokus flyttes til dialogens overskrift; Esc lukker.
- Keyboard / focus Tab sirkulerer kun innenfor dialogen; 'Ja, gjenoppta' og 'Avbryt' nÄs med Tab/Shift+Tab.
- Focus visibility Synlig fokusring pÄ begge dialog-knapper.
-
Bekreft at status nÄ vises som 'Aktiv' og at en bekreftelsesmelding informerer om at koordinator er varslet.
- Live region 'Du er nÄ aktiv igjen. Koordinator er varslet.' annonseres via polite live region.
- Contrast Statusindikator 'Aktiv' bruker bÄde ikon og tekst, ikke kun farge.
Role Boundaries
4 role(s) must NOT access this feature-
Coordinator (Koordinator)
Koordinator kan ikke gjenoppta en likepersons status pÄ vegne av vedkommende; 'Gjenoppta'-handlingen er kun tilgjengelig for likepersonen selv. Koordinator mottar kun varsel.
-
Organization Administrator
Funksjonen finnes ikke i Admin Web Portal; org-admin kan ikke trigge gjenoppta-flyt - eventuelle dyplenker returnerer 403.
-
Global Administrator
Ingen tilgang til organisasjonens operasjonelle data uten stĂžttetilgangsflagg; gjenoppta-endepunkt returnerer 403.
-
Prospective Buyer
Ingen pÄlogging og ingen tilgang til mobilapp; funksjonen er fullstendig utilgjengelig.
Expected End State
Likepersonens status er satt til 'Aktiv', vedkommende er tilbake i matching- og roster-pool, og koordinator har mottatt varsel om reaktiveringen. Dersom blokkerende betingelser (f.eks. utlĂžpt sertifisering) finnes, forblir status 'Pauset' og en forklarende melding vises uten at koordinator varsles.
Components (4)
Shared Components
These components are reused across multiple features
User Stories
No user stories have been generated for this feature yet.