rspace-online/server
Jeff Emmett 2bc1b78f30 fix: make active tab local-only, stop Automerge from overriding it
The active tab was stored in Automerge's shared doc (activeLayerId),
causing different browser windows/sessions to fight over which tab
is highlighted. When one window switched to rInbox, another window
showing rFlows would have its tab bar update to highlight rInbox
while still displaying rFlows content.

Changes:
- Active tab is now always determined locally by the URL/currentModuleId
- Automerge sync only manages the tab LIST (which modules are open)
  and flows, not which tab is active
- Removed sync.setActiveLayer() calls on tab switch
- Removed activeLayerId reads from Automerge on connect and on
  remote change events
- TabCache continues to manage active state correctly when switching
  tabs within the same page load

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 17:49:40 -08:00
..
local-first feat: workflow template, choice components, space settings, EncryptID vault, UI polish 2026-03-03 13:15:13 -08:00
oauth feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
community-store.ts feat: add SpaceConnection primitive + default visibility to private 2026-03-03 15:05:23 -08:00
encryptid-sdk.d.ts fix: resolve TypeScript build errors for Docker deployment 2026-02-13 14:59:04 -07:00
index.ts feat: bare-domain sub-pages show info/marketing pages + save-gate 2026-03-04 12:16:17 -08:00
landing-proxy.ts feat: hide "Try Demo" header button when logged in 2026-03-01 14:16:59 -08:00
landing.ts style: gradient background + (you)rSpace wordmark on landing page 2026-03-03 14:58:15 -08:00
notification-routes.ts feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
notification-service.ts feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
output-list.ts fix: space settings panel hidden behind canvas due to backdrop-filter containment 2026-03-04 10:30:20 -08:00
seed-campaign.ts fix: zoom-aware drag, minimum-penetration collision, replace unicode escapes 2026-02-27 16:48:50 -08:00
seed-demo.ts refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
seed-template.ts refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
shell.ts fix: make active tab local-only, stop Automerge from overriding it 2026-03-04 17:49:40 -08:00
spaces.ts feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
sync-instance.ts feat: layered local-first data architecture — encrypted backup, relay persistence, at-rest encryption 2026-03-02 17:09:07 -08:00