From 26b72597c342de0582d012fc8b5dff28149b41c9 Mon Sep 17 00:00:00 2001 From: Val Alexander Date: Sun, 5 Apr 2026 01:50:54 -0500 Subject: [PATCH] Always use wide thread names in the sidebar - Remove the sidebar wide thread names setting - Keep thread names expanded by default in the sidebar --- apps/web/src/appSettings.ts | 1 - apps/web/src/components/GitActionsControl.tsx | 1 + apps/web/src/components/Sidebar.tsx | 4 +-- apps/web/src/routes/_chat.settings.tsx | 28 ------------------- 4 files changed, 2 insertions(+), 32 deletions(-) diff --git a/apps/web/src/appSettings.ts b/apps/web/src/appSettings.ts index afe8e50fe..b620c7214 100644 --- a/apps/web/src/appSettings.ts +++ b/apps/web/src/appSettings.ts @@ -87,7 +87,6 @@ export const AppSettingsSchema = Schema.Struct({ sidebarAccentColorOverride: Schema.optional(Schema.String.check(Schema.isMaxLength(64))), sidebarAccentBgColorOverride: Schema.optional(Schema.String.check(Schema.isMaxLength(64))), showStitchBorder: Schema.Boolean.pipe(withDefaults(() => true)), - sidebarWideThreadNames: Schema.Boolean.pipe(withDefaults(() => true)), customCodexModels: Schema.Array(Schema.String).pipe(withDefaults(() => [])), customClaudeModels: Schema.Array(Schema.String).pipe(withDefaults(() => [])), textGenerationModel: Schema.optional(TrimmedNonEmptyString), diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 491bd07ac..a3c877526 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -56,6 +56,7 @@ import { import { Group, GroupSeparator } from "~/components/ui/group"; import { Menu, + MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 5879272c8..272a65aab 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -1328,9 +1328,7 @@ export default function Sidebar() { onCancel={cancelEditing} /> -
+
{terminalStatus && ( - - updateSettings({ - sidebarWideThreadNames: defaults.sidebarWideThreadNames, - }) - } - /> - ) : null - } - control={ - - updateSettings({ - sidebarWideThreadNames: Boolean(checked), - }) - } - aria-label="Wide thread names" - /> - } - /> -