From eb16baff50bea18aeacd33b98bcd3f3f815fbc04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Tue, 7 Jul 2026 11:44:15 -0400 Subject: [PATCH] Flatten the sidebar: Office under Team, Connectors under Approvals, no divider --- src/renderer/src/shared/Shell.tsx | 19 +++---------------- src/renderer/src/styles.css | 1 - 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/src/renderer/src/shared/Shell.tsx b/src/renderer/src/shared/Shell.tsx index ca027a2c..15b040ce 100644 --- a/src/renderer/src/shared/Shell.tsx +++ b/src/renderer/src/shared/Shell.tsx @@ -27,25 +27,18 @@ interface NavSpec { * internal scroll regions, so the content area must not scroll as one block. */ const FLUSH_ROUTES = new Set(["chat", "settings", "files", "runs", "office"]); -/** The daily-driver surfaces — the core operating loop. */ -const primaryNav: NavSpec[] = [ +const allNav: NavSpec[] = [ { id: "home", label: "Home" }, { id: "work", label: "Work" }, { id: "team", label: "Team" }, + { id: "office", label: "Office" }, { id: "chat", label: "Messages" }, { id: "runs", label: "Runs" }, { id: "files", label: "Files" }, { id: "approvals", label: "Approvals" }, -]; - -/** Less-frequent surfaces, demoted under a divider so the primary set leads. */ -const secondaryNav: NavSpec[] = [ { id: "connectors", label: "Connectors" }, - { id: "office", label: "Office" }, ]; -const allNav: NavSpec[] = [...primaryNav, ...secondaryNav]; - export function Shell({ snapshot, route, @@ -101,13 +94,7 @@ export function Shell({ ⌘K -
- diff --git a/src/renderer/src/styles.css b/src/renderer/src/styles.css index c904a7df..2ab38c3e 100644 --- a/src/renderer/src/styles.css +++ b/src/renderer/src/styles.css @@ -205,7 +205,6 @@ a { color: inherit; } color: var(--text-3); font-variant-numeric: tabular-nums; } -.nav-divider { height: 1px; background: var(--border-soft); margin: var(--sp-2); } .convo-item { display: flex;