From e3df0c44de2ce77fbb73d59498daf073ea441b35 Mon Sep 17 00:00:00 2001 From: abccodes Date: Fri, 19 Jun 2026 18:20:26 -0700 Subject: [PATCH] [aidan] ux/mcp-bubble: drop redundant verb label when a workflow label is shown --- .../tool-bubbles/CompactMcpBubble.tsx | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx b/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx index 700fd138..7d14bad3 100644 --- a/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx +++ b/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx @@ -58,6 +58,7 @@ export const CompactMcpBubble: React.FC = ({ const inputSummary = mcpInfo.isMcp ? getMcpInputSummary(input, mcpInfo.action, mcpInfo.serverSlug) : ''; const visibleSummary = resultSummary || inputSummary; const canToggleDetails = !!visibleSummary; + const hideVerbLabel = !!workflowLabel && !!visibleSummary; const ServiceIcon = mcpInfo.isMcp && mcpInfo.service ? : null; @@ -78,20 +79,22 @@ export const CompactMcpBubble: React.FC = ({ }} > {ServiceIcon} - - {serviceLabel} - + {!hideVerbLabel && ( + + {serviceLabel} + + )} {visibleSummary && !isError && (