From 5632e97f6528b46efd46e98f832a96809d82ac32 Mon Sep 17 00:00:00 2001 From: Wes Date: Mon, 29 Jun 2026 17:16:24 -0600 Subject: [PATCH 1/2] fix(desktop): stop clipping agent activity row under composer The inline BotActivityBar status label capped at max-w-40 with truncate on a span wrapping an inline-block Shimmer, so the ellipsis never applied and long status text hard-clipped on the right. The activity row was also a fixed h-7 flush at the pane's bottom edge with only pb-1, clipping text descenders and the avatar ring. Let the label flex and truncate (block truncate on the Shimmer), give the activity wrapper flex-1/min-w-0 so it fills available width and shrinks gracefully, and grow the row to min-h-8 with pb-1.5 for vertical room. Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes --- desktop/src/features/channels/ui/BotActivityBar.tsx | 12 ++++++++++-- desktop/src/features/channels/ui/ChannelPane.tsx | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/desktop/src/features/channels/ui/BotActivityBar.tsx b/desktop/src/features/channels/ui/BotActivityBar.tsx index d9139935f6..4d6613d927 100644 --- a/desktop/src/features/channels/ui/BotActivityBar.tsx +++ b/desktop/src/features/channels/ui/BotActivityBar.tsx @@ -197,8 +197,16 @@ export function BotActivityComposerAction({ +{typingAgents.length - 2} ) : null} - - {isInline ? {visibleStatusLabel} : "working"} + + {isInline ? ( + {visibleStatusLabel} + ) : ( + "working" + )} {isInline ? null : ( diff --git a/desktop/src/features/channels/ui/ChannelPane.tsx b/desktop/src/features/channels/ui/ChannelPane.tsx index 556180830b..f89245e535 100644 --- a/desktop/src/features/channels/ui/ChannelPane.tsx +++ b/desktop/src/features/channels/ui/ChannelPane.tsx @@ -686,10 +686,10 @@ export const ChannelPane = React.memo(function ChannelPane({ } showTopBorder={false} /> -
+
{hasComposerBotActivity ? ( -
+
Date: Mon, 29 Jun 2026 17:20:38 -0600 Subject: [PATCH 2/2] fix(desktop): stop clipping agent activity row in thread panel too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The thread side panel renders the same inline BotActivityComposerAction (passed as toolbarExtraActions) but had its own composer row that still clipped: fixed h-7 + pb-1, and the action wrapped in shrink-0 so the status label could not ellipsize. Match the main composer fix — min-h-8 + pb-1.5 for descender/avatar-ring breathing room, and flex min-w-0 flex-1 wrapper so the label truncates against real available width. Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes --- desktop/src/features/messages/ui/MessageThreadPanel.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/desktop/src/features/messages/ui/MessageThreadPanel.tsx b/desktop/src/features/messages/ui/MessageThreadPanel.tsx index 7060694ea3..27732af282 100644 --- a/desktop/src/features/messages/ui/MessageThreadPanel.tsx +++ b/desktop/src/features/messages/ui/MessageThreadPanel.tsx @@ -832,13 +832,15 @@ export function MessageThreadPanel({ />
-
+
{toolbarExtraActions ? ( -
{toolbarExtraActions}
+
+ {toolbarExtraActions} +
) : null} {threadTypingPubkeys.length > 0 ? (