From 052a47c702d22f48167647f7bd6ec3e536b43c47 Mon Sep 17 00:00:00 2001 From: Val Alexander Date: Tue, 31 Mar 2026 23:34:13 -0500 Subject: [PATCH] Remove project new-thread sidebar button - Delete the per-project New thread action from the expanded sidebar - Simplify the project menu by relying on existing thread creation flows --- apps/web/src/components/Sidebar.tsx | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index e8f1b7e79..11f3dedad 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -1443,35 +1443,6 @@ export default function Sidebar() { )} - {project.expanded && ( - - - } - data-thread-selection-safe - size="sm" - className="h-8 w-full translate-x-0 justify-start gap-2 rounded-md border border-primary/20 bg-linear-to-r from-primary/14 via-primary/10 to-transparent px-2.5 text-left text-[11px] font-medium text-primary shadow-[inset_0_1px_0_hsl(0_0%_100%/0.08)] transition-all duration-150 hover:border-primary/35 hover:from-primary/18 hover:via-primary/12 hover:text-primary" - onClick={(event) => { - event.preventDefault(); - event.stopPropagation(); - void createNewThreadForProject(project.id); - }} - > - - New thread - - - )} {project.expanded && !appSettings.sidebarHideFiles ? (