rspace-online/modules
Jeff Emmett 20c26cd3d7 feat: scope system, cross-space navigation, and spaces-as-layers
Phase 1 — Fix scope system: new scope-resolver.ts resolves global vs
space-scoped docId prefixes. Server middleware sets effectiveSpace on
Hono context. All 18 modules updated to use dataSpace for Automerge
doc access while keeping space for display. Client runtime gets
setModuleScopes() and resolveDocSpace() for local-first scope
resolution.

Phase 2 — Seamless cross-space navigation: TabCache now tracks panes
per space:module key. OfflineRuntime maintains lazy WebSocket
connections per space. Space-switcher dispatches space-switch event
handled client-side with history.pushState instead of full reload.

Phase 3 — Spaces as layers: Layer type extended with spaceSlug and
spaceRole. Tab bar gains "Add Space Layer" picker. Canvas renders
cross-space shapes with visual indicators. Space layers persisted as
SpaceRefs via nesting API. Runtime provides getAllActiveSpaces() and
subscribeModuleAcrossSpaces() for module-level data aggregation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 06:33:32 +00:00
..
rbooks feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rcal feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rcart feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rchoices feat: workflow template, choice components, space settings, EncryptID vault, UI polish 2026-03-03 13:15:13 -08:00
rdata feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rdesign feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rdocs feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rfiles feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rflows chore: switch payment defaults from staging to production 2026-03-07 11:28:22 -08:00
rforum feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rinbox feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rmaps feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rnetwork feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rnotes feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rphotos feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rpubs feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rschedule feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rsocials feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rspace fix: layer flows drag-to-connect, notification 401 spam, /api/meta 404 2026-03-04 11:12:19 -08:00
rsplat feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rswag feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rtrips feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rtube feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rvote feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rwallet feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
rwork feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00