diff --git a/src/core/diff/strategies/multi-search-replace.ts b/src/core/diff/strategies/multi-search-replace.ts index bcf2f65430..0462629b9b 100644 --- a/src/core/diff/strategies/multi-search-replace.ts +++ b/src/core/diff/strategies/multi-search-replace.ts @@ -368,20 +368,18 @@ Only use a single line of '=======' between search and replacement content, beca getProgressStatus(toolUse: ToolUse, result?: DiffResult): ToolProgressStatus { const diffContent = toolUse.params.diff if (diffContent) { - const icon = "diff-multiple" - const searchBlockCount = (diffContent.match(/SEARCH/g) || []).length if (toolUse.partial) { if (diffContent.length < 1000 || (diffContent.length / 50) % 10 === 0) { - return { icon, text: `${searchBlockCount}` } + return { text: `progressing ${(diffContent.match(/SEARCH/g) || []).length} blocks...` } } } else if (result) { - if (result.failParts?.length) { + const searchBlockCount = (diffContent.match(/SEARCH/g) || []).length + if (result.failParts) { return { - icon, - text: `${searchBlockCount - result.failParts.length}/${searchBlockCount}`, + text: `progressed ${searchBlockCount - result.failParts.length}/${searchBlockCount} blocks.`, } } else { - return { icon, text: `${searchBlockCount}` } + return { text: `progressed ${searchBlockCount} blocks.` } } } } diff --git a/src/shared/ExtensionMessage.ts b/src/shared/ExtensionMessage.ts index b7e3d850cf..0c20669ed1 100644 --- a/src/shared/ExtensionMessage.ts +++ b/src/shared/ExtensionMessage.ts @@ -277,6 +277,5 @@ export interface HumanRelayCancelMessage { export type ClineApiReqCancelReason = "streaming_failed" | "user_cancelled" export type ToolProgressStatus = { - icon?: string text?: string } diff --git a/webview-ui/src/components/common/CodeAccordian.tsx b/webview-ui/src/components/common/CodeAccordian.tsx index 9d2f224ffb..defafdc869 100644 --- a/webview-ui/src/components/common/CodeAccordian.tsx +++ b/webview-ui/src/components/common/CodeAccordian.tsx @@ -99,12 +99,14 @@ const CodeAccordian = ({ )}
{progressStatus && progressStatus.text && ( - <> - {progressStatus.icon && } - - {progressStatus.text} - - > + + {progressStatus.text} + )}