From 82b28c7627f940ed52b4f1a4ba526f7288f73ff7 Mon Sep 17 00:00:00 2001 From: UtkarshUsername Date: Sun, 25 Oct 2026 17:40:02 +0530 Subject: [PATCH 1/2] fix(web): show the thread details tooltip --- .../components/chat/PanelLayoutControls.tsx | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/apps/web/src/components/chat/PanelLayoutControls.tsx b/apps/web/src/components/chat/PanelLayoutControls.tsx index 11d22b1354e10..ec93ef880eb10 100644 --- a/apps/web/src/components/chat/PanelLayoutControls.tsx +++ b/apps/web/src/components/chat/PanelLayoutControls.tsx @@ -1,7 +1,7 @@ import { PanelBottomIcon, PanelRightIcon, SquareMenuIcon } from "lucide-react"; import { Maximize2, Minimize2 } from "lucide"; import { MorphIcon } from "~/components/MorphIcon"; -import { memo, type ReactElement, type ReactNode } from "react"; +import { memo, type ReactNode } from "react"; import { cn } from "~/lib/utils"; @@ -53,6 +53,7 @@ export const PanelLayoutControls = memo(function PanelLayoutControls({ ); - const threadPanelTooltip = (trigger: ReactElement) => ( + const threadPanelControl = ( - + }> + {threadPanelPresentation === "popover" ? ( + + ) : ( + threadPanelToggle + )} + - Toggle thread details + Thread details {threadPanelShortcutLabel ? ` (${threadPanelShortcutLabel})` : ""} @@ -78,13 +82,7 @@ export const PanelLayoutControls = memo(function PanelLayoutControls({ className="flex h-full shrink-0 items-center gap-1 [-webkit-app-region:no-drag]" data-panel-layout-controls > - {showThreadPanelControl - ? threadPanelPresentation === "popover" - ? threadPanelTooltip( - , - ) - : threadPanelTooltip(threadPanelToggle) - : null} + {showThreadPanelControl ? threadPanelControl : null} {showTerminalControl ? ( }> From a2be155d191c5c8e9f9f01d53396aa66308c79db Mon Sep 17 00:00:00 2001 From: UtkarshUsername Date: Wed, 28 Oct 2026 13:12:29 +0530 Subject: [PATCH 2/2] fix(web): restore the thread details tooltip wording --- apps/web/src/components/chat/PanelLayoutControls.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/chat/PanelLayoutControls.tsx b/apps/web/src/components/chat/PanelLayoutControls.tsx index ec93ef880eb10..6750298402942 100644 --- a/apps/web/src/components/chat/PanelLayoutControls.tsx +++ b/apps/web/src/components/chat/PanelLayoutControls.tsx @@ -71,7 +71,7 @@ export const PanelLayoutControls = memo(function PanelLayoutControls({ )} - Thread details + Toggle thread details {threadPanelShortcutLabel ? ` (${threadPanelShortcutLabel})` : ""}