rspace-online/modules/rnotes
Jeff Emmett fe031094a4 fix(rnotes): resolve global scope for notebook docIds and seeding
The rnotes module has defaultScope: 'global' but several code paths
used the raw space slug instead of the resolved scope:

- subscribeNotebook() built docIds with space slug (e.g. jeff🎶...)
  instead of resolved scope (global🎶...), breaking Automerge sync
- seedDemoIfEmpty() seeded notebooks under space-scoped paths, orphaning
  them when the API queries global-scoped prefix
- onSpaceCreate() created default notebook under space scope

Also migrated 3 orphaned jeff-scoped notebook files to global/ on server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 14:36:38 -07:00
..
components fix(rnotes): resolve global scope for notebook docIds and seeding 2026-03-09 14:36:38 -07:00
converters fix: resolve circular import crash in rnotes converters 2026-03-03 19:47:23 -08:00
db feat: Phase 4 — remove PostgreSQL from 11 modules, switch to Automerge 2026-03-02 15:48:01 -08:00
landing.ts feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
local-first-client.ts perf: parallelize local-first init — batch IDB loads, cache crypto keys, preload sync states 2026-03-03 14:18:55 -08:00
mod.ts fix(rnotes): resolve global scope for notebook docIds and seeding 2026-03-09 14:36:38 -07:00
schemas.ts feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00