rspace-online/modules
Jeff Emmett 0abfce2991 fix: thread builder save crash — await Automerge doc open before write
Two bugs fixed:
- attachShadow called unconditionally in connectedCallback, crashing on
  re-insertion ("Shadow root cannot be created on a host which already
  hosts a shadow tree")
- saveToAutomerge/deleteFromAutomerge called runtime.change() before the
  async subscribeOffline() had resolved, causing "Document not open" errors

Now tracks the subscribe promise and awaits it before any write operation.
Also guards shadow root creation in gallery and campaign manager components.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 16:38:50 -08:00
..
rbooks feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rcal feat: content-hash cache busting for module/shell assets 2026-03-05 11:50:57 -08: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 refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
rdesign feat: add feeds/acceptsFeeds to rsplat, rdesign, rdocs, rschedule 2026-03-03 14:41:55 -08:00
rdocs feat: add feeds/acceptsFeeds to rsplat, rdesign, rdocs, rschedule 2026-03-03 14:41:55 -08:00
rfiles feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rflows feat: inline config beside node, simplified funnel outflow slider 2026-03-05 16:32:38 -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: content-hash cache busting for module/shell assets 2026-03-05 11:50:57 -08:00
rnetwork feat: content-hash cache busting for module/shell assets 2026-03-05 11:50:57 -08:00
rnotes feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rphotos feat: bare-domain sub-pages show info/marketing pages + save-gate 2026-03-04 12:16:17 -08:00
rpubs feat: workflow template, choice components, space settings, EncryptID vault, UI polish 2026-03-03 13:15:13 -08:00
rschedule feat: content-hash cache busting for module/shell assets 2026-03-05 11:50:57 -08:00
rsocials fix: thread builder save crash — await Automerge doc open before write 2026-03-05 16:38:50 -08:00
rspace fix: layer flows drag-to-connect, notification 401 spam, /api/meta 404 2026-03-04 11:12:19 -08:00
rsplat feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rswag feat: content-hash cache busting for module/shell assets 2026-03-05 11:50:57 -08:00
rtrips feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rtube feat: unified space lifecycle & module scoping contract (Phase 0+1) 2026-03-02 13:35:41 -08:00
rvote feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rwallet refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
rwork feat: content-hash cache busting for module/shell assets 2026-03-05 11:50:57 -08:00