From 5e4e7d395520833d9aef8729efa1d3ca419185b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Mon, 6 Apr 2026 23:13:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20soften=20error=20indicators=20in=20tool?= =?UTF-8?q?=20call=20groups=20=E2=80=94=20icon=20instead=20of=20red=20badg?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace "ERROR" text badge with material error icon (less visually jarring) - Add "pending" icon when tool results haven't been matched yet - Remove red border on error groups — all groups now use the same neutral border - Single tool call ERROR badge also changed to icon Co-Authored-By: Claude Opus 4.6 --- desktop/src/components/chat/ToolCallBlock.tsx | 4 +--- desktop/src/components/chat/ToolCallGroup.tsx | 15 ++++++--------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/desktop/src/components/chat/ToolCallBlock.tsx b/desktop/src/components/chat/ToolCallBlock.tsx index c826b2a0..0db2fe50 100644 --- a/desktop/src/components/chat/ToolCallBlock.tsx +++ b/desktop/src/components/chat/ToolCallBlock.tsx @@ -71,9 +71,7 @@ export function ToolCallBlock({ toolName, input, result, compact = false }: Prop )} {result?.isError && ( - - ERROR - + error )} {expandable && ( diff --git a/desktop/src/components/chat/ToolCallGroup.tsx b/desktop/src/components/chat/ToolCallGroup.tsx index e9fca8d3..f942b48d 100644 --- a/desktop/src/components/chat/ToolCallGroup.tsx +++ b/desktop/src/components/chat/ToolCallGroup.tsx @@ -75,11 +75,7 @@ function ToolCallGroupMulti({ toolCalls, resultMap, isStreaming }: Props) {