Skip to content

29 — Family Help Board Module

Version: 1.3
Status: Backend + page + More menu; calendar integration partial
Last Updated: 2026-06-02 11:11:55

Master requirements: 02-REQUIREMENTS.md §3.12, §7.38 (REQ-HELP-01–12). Tier matrix: 23-SUBSCRIPTION-TIER-ENTITLEMENTS-MATRIX.md §2.

Module slug: family_help
Tier: Family, Complete
Route: /help-requests


Lets care circle members ask for help with household, school, errand, and respite tasks — and lets others volunteer (“I’ll do this”). Reduces carer isolation by making latent family capacity visible.


LayerStateNotes
MigrationsDoneV080 — help_request_types, family_help_requests; V093 alert channel; V094 subscription CHECK
APIDonerouters/help_requests.py — types, CRUD, take, complete, cancel
Service / repoDonehelp_requests_service.py, repositories/help_requests.py
Care alertsDonenew_help_request on create; take resolves new_help_request:{id} + help_request_taken; channel toggle Family help board (V093, /admin/alerts). Completion acknowledgement alert — not yet (REQ-HELP-07)
Page UIDoneHelpRequests.tsx — Needs help / In progress / Done tabs
More menuDoneMore.tsx — Family help board when module enabled
Primary nav tabDeferredNot on bottom bar; discover via More
Calendar integrationPartialFilter pill “Help” in Calendar.tsx — UI only, does not filter or render help entries
Release ownershipFutureREQ-HELP-06 — 4-hour un-volunteer rule

MethodPathPurpose
GET/api/help-requests/typesType catalogue for picker
GET/api/patients/{id}/help-requestsList (optional status filter)
POST/api/patients/{id}/help-requestsCreate request
POST/api/patients/{id}/help-requests/{id}/takeVolunteer
POST/api/patients/{id}/help-requests/{id}/completeMark done
DELETE/api/patients/{id}/help-requests/{id}Cancel (originator)

Gate: require_module("family_help") via _help in main.py.

Auth: Patient routes use require_patient_access / require_carer_role. GET /api/help-requests/types is tenant-global — require_tenant_member only (not require_carer_role, which would wrongly require ?patient_id=). Shipped production deploy-20260602-1110. Regression: tests/test_alerts.py::test_help_request_types_without_patient_id_query.


Create request

I'll do this

Mark done

Creator cancels

Release (Future REQ-HELP-06)

open

taken

completed

cancelled


FileRole
backend/routers/help_requests.pyHTTP layer
backend/services/help_requests_service.pyAlerts + status transitions
backend/repositories/help_requests.pySQL
frontend/src/pages/HelpRequests.tsxMain UI
frontend/src/lib/api.tshelpRequestsApi

  1. Add nav entry (More page + mobile bottom nav when family_help enabled).
  2. Render help requests on calendar; wire calFilter === 'help' in Calendar.tsx.
  3. Implement release-ownership flow (REQ-HELP-06).
  4. Agenda sections per REQ-CAL-16 (“Help needed” grouping on /schedule).