From 735449c72927958b64d4ad4b4f8df0809322a35a Mon Sep 17 00:00:00 2001 From: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com> Date: Thu, 23 Jul 2026 15:33:56 +0530 Subject: [PATCH] feat(web): reveal project delete button only on row hover The trash/delete button on each project row in the project switcher was always visible, adding persistent visual noise to the list. Reveal it on row hover (and on keyboard focus for accessibility), matching the existing thread-row action-button hover pattern in this file. Co-Authored-By: Claude Opus 4.8 --- apps/web/src/components/SidebarV2.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/SidebarV2.tsx b/apps/web/src/components/SidebarV2.tsx index 46b6a3d062..852fa7d231 100644 --- a/apps/web/src/components/SidebarV2.tsx +++ b/apps/web/src/components/SidebarV2.tsx @@ -1597,7 +1597,7 @@ export default function SidebarV2() { key={scopeKey} value={scopeKey} closeOnClick - className="h-8 min-h-8 px-1 py-0 text-sm font-medium [&>span:last-child]:flex [&>span:last-child]:min-w-0 [&>span:last-child]:items-center [&>span:last-child]:gap-2" + className="group/project-row h-8 min-h-8 px-1 py-0 text-sm font-medium [&>span:last-child]:flex [&>span:last-child]:min-w-0 [&>span:last-child]:items-center [&>span:last-child]:gap-2" > event.stopPropagation()} onClick={(event) => { event.preventDefault();