From fe54960142d1e6edc9e43299c0e8889964f4e837 Mon Sep 17 00:00:00 2001 From: brooklyn! Date: Wed, 10 Jun 2026 21:35:38 -0500 Subject: [PATCH] desktop: un-truncate the active slash/@ row so long descriptions stay readable (#43926) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to #42351. Slash command rows render the command label and description with `truncate`, so skill commands and longer blurbs were clipped with no way to read the full text. Rather than add a floating tooltip (which overlaps the popover and only helps the mouse), the active row — the one reached by keyboard arrows or hover, since onMouseEnter already sets activeIndex — now drops truncation and wraps inline (whitespace-normal break-words). Idle rows stay single-line/truncated so the list reads compact. --- .../src/app/chat/composer/trigger-popover.tsx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/app/chat/composer/trigger-popover.tsx b/apps/desktop/src/app/chat/composer/trigger-popover.tsx index 1099c0748ba..dffa1ae7745 100644 --- a/apps/desktop/src/app/chat/composer/trigger-popover.tsx +++ b/apps/desktop/src/app/chat/composer/trigger-popover.tsx @@ -136,9 +136,24 @@ export function ComposerTriggerPopover({ > {isSlash ? ( <> - {display} + {/* Active row (keyboard nav or hover) un-truncates inline so + long command names / descriptions stay readable without a + floating tooltip. */} + + {display} + {description && ( - + {description} )}