feat: add See All Changes button when task completes #10730
Draft
+46
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR attempts to address Issue #10729. Feedback and guidance are welcome.
Summary
This PR adds a "See All Changes" button that appears when a task completes. When clicked, it shows a diff view of all changes made during the task.
Changes
Added translation strings for the new "See All Changes" button in
webview-ui/src/i18n/locales/en/chat.jsonModified ChatView.tsx to:
showSeeAllChangesButtonto track when to show the buttoncompletion_result) and there are checkpoints availablehandleSeeAllChangesClickthat sends acheckpointDiffmessage with mode "full"How it works
completion_result), the code checks if there are any checkpoint messages in the taskcheckpointDiffwith mode "full", which compares from the first checkpoint to the current workspace stateTesting
Closes #10729
Important
Adds a "See All Changes" button in
ChatView.tsxto display a diff view of all changes when a task completes and checkpoints are available.ChatView.tsxwhen task completes and checkpoints exist.checkpointDiffwith mode "full" to show a diff view.showSeeAllChangesButtonstate inChatView.tsxto control button visibility.completion_resultand checkpoint presence.chat.json.This description was created by
for 2f3b136. You can customize this summary. It will automatically update as commits are pushed.