From 288cc49dbce83d79d703b38db8646928272fa34c Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sun, 25 Aug 2024 02:45:30 -0400 Subject: [PATCH] Update UI for automatic reads --- webview-ui/src/components/ChatRow.tsx | 17 ++++++++++++----- webview-ui/src/components/ChatView.tsx | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/webview-ui/src/components/ChatRow.tsx b/webview-ui/src/components/ChatRow.tsx index fecdae6..f400068 100644 --- a/webview-ui/src/components/ChatRow.tsx +++ b/webview-ui/src/components/ChatRow.tsx @@ -479,7 +479,9 @@ const ChatRow: React.FC = ({ <>
{toolIcon("file-code")} - Claude wants to read this file: + + {message.type === "ask" ? "Claude wants to read this file:" : "Claude read this file:"} +
= ({
{toolIcon("folder-opened")} - Claude wants to view the top level files in this directory: + {message.type === "ask" + ? "Claude wants to view the top level files in this directory:" + : "Claude viewed the top level files in this directory:"}
= ({
{toolIcon("folder-opened")} - Claude wants to recursively view all files in this directory: + {message.type === "ask" + ? "Claude wants to recursively view all files in this directory:" + : "Claude recursively viewed all files in this directory:"}
= ({
{toolIcon("file-code")} - Claude wants to view source code definitions in files at the top level of this - directory: + {message.type === "ask" + ? "Claude wants to view source code definitions in files at the top level of this directory:" + : "Claude viewed source code definitions in files at the top level of this directory:"}
- +