From 10c0f68acf7844b375b72b5846c02383da9da666 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Jan 2026 20:36:09 +0000 Subject: [PATCH] feat: Add mobile tap support for chat name tooltip - Add controlled state for tooltip open/close - Enable tap/click to toggle tooltip on mobile devices - Tooltip now shows conversation metadata on tap (icon, description, protocol type, status, host) - Maintains existing hover behavior on desktop - Improves mobile UX by making metadata accessible via tap --- src/components/ChatViewer.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/ChatViewer.tsx b/src/components/ChatViewer.tsx index 60eb711..6749b5f 100644 --- a/src/components/ChatViewer.tsx +++ b/src/components/ChatViewer.tsx @@ -481,6 +481,9 @@ export function ChatViewer({ // State for send in progress (prevents double-sends) const [isSending, setIsSending] = useState(false); + // State for tooltip open (for mobile tap support) + const [tooltipOpen, setTooltipOpen] = useState(false); + // Handle sending messages with error handling const handleSend = async ( content: string, @@ -710,9 +713,12 @@ export function ChatViewer({
{headerPrefix} - + -