Update TaskHeader

This commit is contained in:
Saoud Rizwan
2024-08-04 19:47:04 -04:00
parent b299803ac5
commit 08737ac119
4 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
"name": "claude-dev", "name": "claude-dev",
"displayName": "Claude Dev", "displayName": "Claude Dev",
"description": "Autonomous software engineer right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.", "description": "Autonomous software engineer right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.",
"version": "1.0.92", "version": "1.0.93",
"icon": "icon.png", "icon": "icon.png",
"engines": { "engines": {
"vscode": "^1.84.0" "vscode": "^1.84.0"

View File

@@ -22,7 +22,7 @@ const Announcement = ({ hideAnnouncement }: AnnouncementProps) => {
style={{ position: "absolute", top: "8px", right: "8px" }}> style={{ position: "absolute", top: "8px", right: "8px" }}>
<span className="codicon codicon-close"></span> <span className="codicon codicon-close"></span>
</VSCodeButton> </VSCodeButton>
<h3 style={{ margin: "0 0 8px" }}>🎉{" "}New in v1.0.92</h3> <h3 style={{ margin: "0 0 8px" }}>🎉{" "}New in v1.0.93</h3>
<ul style={{ margin: "0 0 8px", paddingLeft: "20px" }}> <ul style={{ margin: "0 0 8px", paddingLeft: "20px" }}>
<li> <li>
Open in the editor (using{" "} Open in the editor (using{" "}

View File

@@ -129,7 +129,7 @@ const SettingsView = ({
https://github.com/saoudrizwan/claude-dev https://github.com/saoudrizwan/claude-dev
</VSCodeLink> </VSCodeLink>
</p> </p>
<p style={{ fontStyle: "italic" }}>v1.0.92</p> <p style={{ fontStyle: "italic" }}>v1.0.93</p>
</div> </div>
</div> </div>
) )

View File

@@ -144,13 +144,6 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({ taskText, tokensIn, tokensOut,
<div style={{ display: "flex", flexDirection: "column", gap: "4px" }}> <div style={{ display: "flex", flexDirection: "column", gap: "4px" }}>
<div style={{ display: "flex", alignItems: "center", gap: "4px" }}> <div style={{ display: "flex", alignItems: "center", gap: "4px" }}>
<span style={{ fontWeight: "bold" }}>Tokens:</span> <span style={{ fontWeight: "bold" }}>Tokens:</span>
<span style={{ display: "flex", alignItems: "center", gap: "3px" }}>
<i
className="codicon codicon-arrow-down"
style={{ fontSize: "12px", fontWeight: "bold", marginBottom: "-2px" }}
/>
{tokensOut.toLocaleString()}
</span>
<span style={{ display: "flex", alignItems: "center", gap: "3px" }}> <span style={{ display: "flex", alignItems: "center", gap: "3px" }}>
<i <i
className="codicon codicon-arrow-up" className="codicon codicon-arrow-up"
@@ -158,6 +151,13 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({ taskText, tokensIn, tokensOut,
/> />
{tokensIn.toLocaleString()} {tokensIn.toLocaleString()}
</span> </span>
<span style={{ display: "flex", alignItems: "center", gap: "3px" }}>
<i
className="codicon codicon-arrow-down"
style={{ fontSize: "12px", fontWeight: "bold", marginBottom: "-2px" }}
/>
{tokensOut.toLocaleString()}
</span>
</div> </div>
<div <div
style={{ style={{