From 690e4dedb4c54003410e8a5402883afce02cd996 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 31 Mar 2026 10:58:30 -0700 Subject: [PATCH] =?UTF-8?q?refactor:=20consolidate=20space=20settings=20?= =?UTF-8?q?=E2=80=94=20both=20gear=20icons=20open=20same=20tabbed=20modal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove rstack-space-settings slide-out panel. Enhance the existing tabbed modal in rstack-space-switcher with add-member (username search + email invite) and pending email invites (with revoke). Header gear now calls openSettingsModal() on the space switcher instead of toggling the old panel. Co-Authored-By: Claude Opus 4.6 --- modules/rspace/mod.ts | 1 - shared/components/rstack-app-switcher.ts | 15 +- shared/components/rstack-collab-overlay.ts | 5 +- shared/components/rstack-comment-bell.ts | 11 +- shared/components/rstack-identity.ts | 2 +- shared/components/rstack-mi.ts | 20 +- shared/components/rstack-notification-bell.ts | 15 +- shared/components/rstack-share-panel.ts | 4 +- shared/components/rstack-space-settings.ts | 1221 ----------------- shared/components/rstack-space-switcher.ts | 404 +++++- shared/components/rstack-tab-bar.ts | 36 +- shared/tab-cache.ts | 2 +- website/canvas.html | 18 +- website/shell.ts | 4 +- 14 files changed, 416 insertions(+), 1342 deletions(-) delete mode 100644 shared/components/rstack-space-settings.ts diff --git a/modules/rspace/mod.ts b/modules/rspace/mod.ts index 13fe383..e487e98 100644 --- a/modules/rspace/mod.ts +++ b/modules/rspace/mod.ts @@ -85,7 +85,6 @@ function extractCanvasContent(html: string): { body: string; styles: string; scr // space-settings, history-panel, and welcome overlay. bodyContent = bodyContent .replace(//i, "") - .replace(/]*><\/rstack-space-settings>/gi, "") .replace(/]*><\/rstack-history-panel>/gi, "") .replace(/