rspace-online/website
Jeff Emmett 4cc420d0f6 feat: wire offline-first Automerge sync to all 13 rSpace modules
Add shared RSpaceOfflineRuntime singleton that coordinates IndexedDB
persistence (EncryptedDocStore), WebSocket sync (DocSyncManager), and
in-memory Automerge docs (DocumentManager) for all module web components.

- Phase 0: runtime.ts singleton, shell integration, beforeunload flush
- Phase 1: rstack-offline-indicator status dot in shell header
- Phase 2: service worker stale-while-revalidate for API GETs + offline fallback
- Phase 3: storage-quota.ts with LRU eviction (30d) and quota warnings (70%)
- Phase 4: Tier 1 single-doc modules (rFlows, rCal, rBooks, rSplat)
- Phase 5: Tier 2 multi-doc modules (rNotes, rWork, rInbox, rVote, rTrips, rFiles)
  with doc-list-request/response wire protocol for document discovery
- Phase 6: Tier 3 special cases (rCart hybrid, rForum global doc, rSchedule)

Data now loads instantly from IndexedDB, syncs via WebSocket when online,
and remains browsable offline. rNotes migrated from inline Automerge WS
to shared runtime. All modules fall back to REST when runtime unavailable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 19:07:59 -08:00
..
public fix: responsive header dropdowns + space switcher on all pages 2026-03-04 16:46:40 -08:00
admin.html fix: normalize visibility enums + tab tracking across remaining files 2026-03-03 13:29:01 -08:00
canvas.html feat: make whiteboard drawings selectable, moveable, resizable, deletable 2026-03-04 11:56:12 -08:00
create-space.html fix: normalize visibility enums + tab tracking across remaining files 2026-03-03 13:29:01 -08:00
index.html refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
shell.ts feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
sw.ts feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
test-stack.html test: add stack view + wiring test page 2026-03-02 13:03:29 -08:00