Browse Source

Update TaskHeader

Saoud Rizwan 1 year ago
parent
commit
08737ac119

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "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.",
-  "version": "1.0.92",
+  "version": "1.0.93",
   "icon": "icon.png",
   "engines": {
     "vscode": "^1.84.0"

+ 1 - 1
webview-ui/src/components/Announcement.tsx

@@ -22,7 +22,7 @@ const Announcement = ({ hideAnnouncement }: AnnouncementProps) => {
 				style={{ position: "absolute", top: "8px", right: "8px" }}>
 				<span className="codicon codicon-close"></span>
 			</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" }}>
 				<li>
 					Open in the editor (using{" "}

+ 1 - 1
webview-ui/src/components/SettingsView.tsx

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

+ 6 - 6
webview-ui/src/components/TaskHeader.tsx

@@ -146,17 +146,17 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({ taskText, tokensIn, tokensOut,
 						<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" }}
+								className="codicon codicon-arrow-up"
+								style={{ fontSize: "12px", fontWeight: "bold", marginBottom: "-1.5px" }}
 							/>
-							{tokensOut.toLocaleString()}
+							{tokensIn.toLocaleString()}
 						</span>
 						<span style={{ display: "flex", alignItems: "center", gap: "3px" }}>
 							<i
-								className="codicon codicon-arrow-up"
-								style={{ fontSize: "12px", fontWeight: "bold", marginBottom: "-1.5px" }}
+								className="codicon codicon-arrow-down"
+								style={{ fontSize: "12px", fontWeight: "bold", marginBottom: "-2px" }}
 							/>
-							{tokensIn.toLocaleString()}
+							{tokensOut.toLocaleString()}
 						</span>
 					</div>
 					<div