rspace-online/modules/rsocials/components
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
..
folk-campaign-manager.ts fix: thread builder save crash — await Automerge doc open before write 2026-03-05 16:38:50 -08:00
folk-socials-canvas.ts fix: replace broken Postiz reverse proxy with iframe embed 2026-03-05 10:20:19 -08:00
folk-thread-builder.ts fix: thread builder save crash — await Automerge doc open before write 2026-03-05 16:38:50 -08:00
folk-thread-gallery.ts fix: thread builder save crash — await Automerge doc open before write 2026-03-05 16:38:50 -08:00
socials-canvas.css fix: add wasm plugin to folk-flows-app build + add missing rsocials components 2026-03-04 20:34:32 -08:00
socials.css feat: refactor rSocials from monolith to full rApp 2026-03-04 20:42:18 -08:00