From 0f341131fae8449686ad8ebe6f23ce26745a3467 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sat, 31 Aug 2024 07:14:52 -0400 Subject: [PATCH] Add announcement --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/providers/ClaudeDevProvider.ts | 2 +- webview-ui/src/components/Announcement.tsx | 10 +++++----- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af857a3..1a8147c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the "claude-dev" extension will be documented in this fil +## [1.5.6] + +- You can now edit Claude's changes before accepting! When he edits or creates a file, you can modify his changes directly in the right side of the diff view (+ hover over the 'Revert Block' arrow button in the center to undo `// rest of code here` shenanigans) + ## [1.5.4] - Adds support for reading .pdf and .docx files (try "turn my business_plan.docx into a company website") diff --git a/package.json b/package.json index 7805ea9..d662980 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "claude-dev", "displayName": "Claude Dev", "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.", - "version": "1.5.5", + "version": "1.5.6", "icon": "icon.png", "engines": { "vscode": "^1.84.0" diff --git a/src/providers/ClaudeDevProvider.ts b/src/providers/ClaudeDevProvider.ts index 7eb3a9c..ab94f7c 100644 --- a/src/providers/ClaudeDevProvider.ts +++ b/src/providers/ClaudeDevProvider.ts @@ -34,7 +34,7 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider { private disposables: vscode.Disposable[] = [] private view?: vscode.WebviewView | vscode.WebviewPanel private claudeDev?: ClaudeDev - private latestAnnouncementId = "aug-31-2024" // update to some unique identifier when we add a new announcement + private latestAnnouncementId = "aug-31-2024-1" // update to some unique identifier when we add a new announcement constructor(readonly context: vscode.ExtensionContext, private readonly outputChannel: vscode.OutputChannel) { this.outputChannel.appendLine("ClaudeDevProvider instantiated") diff --git a/webview-ui/src/components/Announcement.tsx b/webview-ui/src/components/Announcement.tsx index cb8379e..1554029 100644 --- a/webview-ui/src/components/Announcement.tsx +++ b/webview-ui/src/components/Announcement.tsx @@ -30,6 +30,11 @@ const Announcement = ({ version, hideAnnouncement, apiConfiguration, vscodeUriSc 🎉{" "}New in v{version}
{"// rest of code here"}" shenanigans)
+ Follow me for more updates!{" "}