From 68ab0cff256d2e7ac55b4a030d2a2a57b800742d Mon Sep 17 00:00:00 2001
From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
Date: Sat, 8 Feb 2025 17:15:42 -0800
Subject: [PATCH] Fix copy for clineignored scenarios
---
package.json | 2 +-
webview-ui/src/components/chat/ChatRow.tsx | 49 ++++------------------
2 files changed, 10 insertions(+), 41 deletions(-)
diff --git a/package.json b/package.json
index 830d212709..e5347c6b47 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "claude-dev",
"displayName": "Cline",
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
- "version": "3.3.0",
+ "version": "3.3.1",
"icon": "assets/icons/icon.png",
"galleryBanner": {
"color": "#617A91",
diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx
index 7137851eb5..e4fc6a0aa7 100644
--- a/webview-ui/src/components/chat/ChatRow.tsx
+++ b/webview-ui/src/components/chat/ChatRow.tsx
@@ -185,9 +185,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
marginBottom: "-1.5px",
}}>
),
-
- {message.type === "ask" ? "Cline wants to execute this command:" : "Cline executed this command:"}
- ,
+ Cline wants to execute this command:,
]
case "use_mcp_server":
const mcpServerUse = JSON.parse(message.text || "{}") as ClineAskUseMcpServer
@@ -203,17 +201,8 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
}}>
),
- {message.type === "ask" ? (
- <>
- Cline wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"} on the{" "}
- {mcpServerUse.serverName} MCP server:
- >
- ) : (
- <>
- Cline {mcpServerUse.type === "use_mcp_tool" ? "used a tool" : "accessed a resource"} on the{" "}
- {mcpServerUse.serverName} MCP server:
- >
- )}
+ Cline wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"} on the{" "}
+ {mcpServerUse.serverName} MCP server:
,
]
case "completion_result":
@@ -298,16 +287,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
default:
return [null, null]
}
- }, [
- type,
- cost,
- apiRequestFailedMessage,
- isCommandExecuting,
- apiReqCancelReason,
- isMcpServerResponding,
- message.text,
- message.type,
- ])
+ }, [type, cost, apiRequestFailedMessage, isCommandExecuting, apiReqCancelReason, isMcpServerResponding, message.text])
const headerStyle: React.CSSProperties = {
display: "flex",
@@ -346,9 +326,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
<>
{tool.regex}:
- >
- ) : (
- <>
- Cline searched this directory for {tool.regex}:
- >
- )}
+ Cline wants to search this directory for {tool.regex}: