From c44dea3597eb1cd4487c027bf4f3c516ece91fcb Mon Sep 17 00:00:00 2001 From: ciregenz Date: Mon, 3 Aug 2026 21:07:42 -0700 Subject: [PATCH] [eric] chat: finished tool rows go neutral, accent only marks the row actually running --- .../pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx | 5 +++-- .../AgentChat/tool-bubbles/DefaultToolBubble.tsx | 11 +++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx b/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx index 3866dfe8..606ddbac 100644 --- a/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx +++ b/frontend/src/app/pages/AgentChat/tool-bubbles/CompactMcpBubble.tsx @@ -96,10 +96,11 @@ export const CompactMcpBubble: React.FC = ({ {!hideVerbLabel && !isWebRow && ( {serviceLabel} diff --git a/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx b/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx index 14816add..1cf56ce7 100644 --- a/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx +++ b/frontend/src/app/pages/AgentChat/tool-bubbles/DefaultToolBubble.tsx @@ -115,21 +115,24 @@ export const DefaultToolBubble: React.FC = ({ '&:hover': canToggleDetails ? { bgcolor: 'rgba(0,0,0,0.02)' } : {}, }} > + {/* Accent is a LIVE signal only: a finished row goes neutral so a 20-row group reads as calm history, not a wall of orange (open-webui's state language). */} {mcpInfo.isMcp && mcpInfo.service ? : (() => { const n = toolName.toLowerCase(); + const p_iconColor = isPending ? c.accent.primary : c.text.tertiary; if (n.includes('search') || n === 'grep' || n === 'glob') - return ; - return ; + return ; + return ; })() } {(() => {