feat: offline crisis resources — cache 988 info in service worker #98

Closed
opened 2026-04-15 03:01:55 +00:00 by Rockachopa · 1 comment
Owner

Context

When network is down, users in crisis can't access 988 resources. Service worker should cache them.

Acceptance Criteria

  • Service worker precaches crisis resource page
  • 988 number, Crisis Text Line, and local resources available offline
  • Test: go offline, verify crisis resources still load

Labels

offline, crisis, integration

## Context When network is down, users in crisis can't access 988 resources. Service worker should cache them. ## Acceptance Criteria - [ ] Service worker precaches crisis resource page - [ ] 988 number, Crisis Text Line, and local resources available offline - [ ] Test: go offline, verify crisis resources still load ## Labels `offline`, `crisis`, `integration`
Author
Owner

Already implemented. Verified:

  • crisis-offline.html exists with 988 call link, Crisis Text Line (741741), grounding techniques
  • sw.js precaches /crisis-offline.html and uses it as navigation fallback
  • Navigation timeout (2500ms) handles intermittent connections
  • Makefile includes crisis-offline.html in push
  • All 26 tests pass, including 8 offline-specific tests

No changes needed. Closing.

**Already implemented.** Verified: - `crisis-offline.html` exists with 988 call link, Crisis Text Line (741741), grounding techniques - `sw.js` precaches `/crisis-offline.html` and uses it as navigation fallback - Navigation timeout (2500ms) handles intermittent connections - Makefile includes crisis-offline.html in push - All 26 tests pass, including 8 offline-specific tests No changes needed. Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-door#98