rspace-online/modules/rsocials
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
..
components fix: thread builder save crash — await Automerge doc open before write 2026-03-05 16:38:50 -08:00
lib feat: refactor rSocials from monolith to full rApp 2026-03-04 20:42:18 -08:00
campaign-data.ts feat: add outputPaths to module interface and browsable list pages 2026-03-01 13:55:29 -08:00
landing.ts feat: restructure all 22 landing pages with standardized template 2026-02-27 16:05:26 -08:00
local-first-client.ts feat: refactor rSocials from monolith to full rApp 2026-03-04 20:42:18 -08:00
mod.ts fix: replace broken Postiz reverse proxy with iframe embed 2026-03-05 10:20:19 -08:00
schemas.ts feat: refactor rSocials from monolith to full rApp 2026-03-04 20:42:18 -08:00