rspace-online/shared/components
Jeff Emmett 53c757e68e fix: comprehensive memory leak and performance fixes across 44 files
Browser-side:
- Fix switchSpace() to LRU-evict idle space WebSocket connections (cap: 3)
- Add runtime.unsubscribe() to disconnectedCallback in 24 components
- Fix DocSyncManager.unsubscribe() to clean up syncStates, timers, listeners
- Fix 14 components leaking RAF loops, ResizeObservers, MutationObservers,
  document/window listeners, setIntervals, MapLibre WebGL contexts, and
  AbortControllers on disconnect
- Deduplicate Automerge WASM: module builds now use global shim from
  shell-offline instead of bundling ~2.5MB each (8 modules affected)

Server-side:
- Add LRU eviction to SyncServer.#docs (cap: 500, evicts idle docs with
  no subscribers, persists to disk before eviction)
- registerWatcher() now returns unsubscribe function

Data:
- Cap unbounded CRDT arrays: rexchange chatMessages (200), rcart events (200)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:26:24 -04:00
..
rstack-app-switcher.ts revert: restore app switcher to left sidebar 2026-04-06 14:05:38 -04:00
rstack-collab-overlay.ts perf(collab): lazy GC timer — start on first peer, stop when empty 2026-04-09 13:48:18 -04:00
rstack-comment-bell.ts feat(comments): spatial comment pins on all rApp module pages 2026-04-10 11:15:05 -04:00
rstack-history-panel.ts fix(shell): header button reliability — history, settings, comments 2026-03-24 16:04:11 -07:00
rstack-identity.ts feat(rcal): add Google Calendar sync integration with connectors menu 2026-04-10 19:45:52 -04:00
rstack-mi.ts fix: rename MIc to miC with mic emoji in voice conversation buttons 2026-04-10 18:40:40 -04:00
rstack-module-comments.ts feat(comments): spatial comment pins on all rApp module pages 2026-04-10 11:15:05 -04:00
rstack-module-setup.ts feat: per-rApp inline config + module-aware settings panel 2026-03-10 16:45:48 -07:00
rstack-notification-bell.ts feat(rtime): commitment notifications + email delivery channel 2026-04-01 14:59:10 -07:00
rstack-offline-indicator.ts feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rstack-share-panel.ts feat: add Mermaid diagram generator canvas tool + share panel role selector 2026-04-01 14:01:52 -07:00
rstack-space-switcher.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
rstack-tab-bar.ts fix(canvas): disabled module gating + toolbar reorganization 2026-04-09 20:35:58 -04:00
rstack-user-dashboard.ts feat: magic link responses for polls and RSVPs 2026-04-09 13:41:17 -04:00