low complexity extracted Peer Mentor Status Confidence: 100%
2
Components
2
Shared
0
User Stories
Yes
Analyzed

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.

  • Pausefunksjon for likepersoner (NHF + HLF + Barnekreftforeningen). Likepersoner skal kunne sette seg pĂ„ pause (midlertidig deaktivering) uten Ă„ melde seg ut.
  • Pausefunksjon og bulkregistrering for koordinatorer

Analysis

Business Value

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.

Implementation Notes

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)
1
Scenarios
5
UAT Steps
13
A11y Annotations
4
Role Boundaries
Peer Mentor (Likeperson)

Peer Mentor (Likeperson)

Quick UAT

  1. Logg inn i Meander-appen som en likeperson som stÄr i pauset status.
  2. Åpne Profil → Likepersonstatus og bekreft at status vises som 'Pauset'.
  3. Trykk 'Gjenoppta' for Ă„ starte reaktivering.
  4. Bekreft i dialogen 'Vil du gjenoppta likepersonsrollen?' ved Ă„ trykke 'Ja, gjenoppta'.
  5. Bekreft at status nÄ vises som 'Aktiv' og at en bekreftelsesmelding informerer om at koordinator er varslet.

Quick UAT — Accessibility

  1. 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.
  2. Å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.
  3. 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).
  4. 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.
  5. 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.

User Stories

No user stories have been generated for this feature yet.