mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Update UI for automatic reads
This commit is contained in:
@@ -479,7 +479,9 @@ const ChatRow: React.FC<ChatRowProps> = ({
|
|||||||
<>
|
<>
|
||||||
<div style={headerStyle}>
|
<div style={headerStyle}>
|
||||||
{toolIcon("file-code")}
|
{toolIcon("file-code")}
|
||||||
<span style={{ fontWeight: "bold" }}>Claude wants to read this file:</span>
|
<span style={{ fontWeight: "bold" }}>
|
||||||
|
{message.type === "ask" ? "Claude wants to read this file:" : "Claude read this file:"}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<CodeBlock
|
<CodeBlock
|
||||||
code={tool.content!}
|
code={tool.content!}
|
||||||
@@ -496,7 +498,9 @@ const ChatRow: React.FC<ChatRowProps> = ({
|
|||||||
<div style={headerStyle}>
|
<div style={headerStyle}>
|
||||||
{toolIcon("folder-opened")}
|
{toolIcon("folder-opened")}
|
||||||
<span style={{ fontWeight: "bold" }}>
|
<span style={{ fontWeight: "bold" }}>
|
||||||
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:"}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<CodeBlock
|
<CodeBlock
|
||||||
@@ -515,7 +519,9 @@ const ChatRow: React.FC<ChatRowProps> = ({
|
|||||||
<div style={headerStyle}>
|
<div style={headerStyle}>
|
||||||
{toolIcon("folder-opened")}
|
{toolIcon("folder-opened")}
|
||||||
<span style={{ fontWeight: "bold" }}>
|
<span style={{ fontWeight: "bold" }}>
|
||||||
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:"}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<CodeBlock
|
<CodeBlock
|
||||||
@@ -534,8 +540,9 @@ const ChatRow: React.FC<ChatRowProps> = ({
|
|||||||
<div style={headerStyle}>
|
<div style={headerStyle}>
|
||||||
{toolIcon("file-code")}
|
{toolIcon("file-code")}
|
||||||
<span style={{ fontWeight: "bold" }}>
|
<span style={{ fontWeight: "bold" }}>
|
||||||
Claude wants to view source code definitions in files at the top level of this
|
{message.type === "ask"
|
||||||
directory:
|
? "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:"}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<CodeBlock
|
<CodeBlock
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ const ChatView = ({
|
|||||||
appearance="icon"
|
appearance="icon"
|
||||||
aria-label="Send Message"
|
aria-label="Send Message"
|
||||||
onClick={handleSendMessage}>
|
onClick={handleSendMessage}>
|
||||||
<span className="codicon codicon-send" style={{ fontSize: 16, marginTop: 1 }}></span>
|
<span className="codicon codicon-send" style={{ fontSize: 16, marginTop: 1.5 }}></span>
|
||||||
</VSCodeButton>
|
</VSCodeButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user