Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Jan 14, 2026

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

  1. Added translation strings for the new "See All Changes" button in webview-ui/src/i18n/locales/en/chat.json

  2. Modified ChatView.tsx to:

    • Add a new state variable showSeeAllChangesButton to track when to show the button
    • Show the button when task completes (completion_result) and there are checkpoints available
    • Add handler function handleSeeAllChangesClick that sends a checkpointDiff message with mode "full"
    • Render the button alongside the "Start New Task" button

How it works

  • When a task completes (receives completion_result), the code checks if there are any checkpoint messages in the task
  • If checkpoints exist, the "See All Changes" button is shown next to the "Start New Task" button
  • Clicking the button triggers checkpointDiff with mode "full", which compares from the first checkpoint to the current workspace state
  • This opens VSCode's multi-file diff view showing all changes made during the task

Testing

  • TypeScript compilation passes
  • All existing ChatView tests pass (23 tests)
  • ESLint checks pass

Closes #10729


Important

Adds a "See All Changes" button in ChatView.tsx to display a diff view of all changes when a task completes and checkpoints are available.

  • Behavior:
    • Adds "See All Changes" button in ChatView.tsx when task completes and checkpoints exist.
    • Button triggers checkpointDiff with mode "full" to show a diff view.
  • State Management:
    • Introduces showSeeAllChangesButton state in ChatView.tsx to control button visibility.
    • Updates button visibility based on completion_result and checkpoint presence.
  • Translations:
    • Adds translation strings for "See All Changes" button in chat.json.

This description was created by Ellipsis for 2f3b136. You can customize this summary. It will automatically update as commits are pushed.

- Add "See All Changes" button that appears when a task completes
- Button is only shown if there are checkpoints available
- Clicking the button triggers checkpointDiff with mode "full" to show
  all changes from the first checkpoint to current workspace
- Add translation strings for the new button

Addresses #10729
@roomote
Copy link
Contributor Author

roomote bot commented Jan 14, 2026

Rooviewer Clock   See task on Roo Cloud

Reviewed the implementation. No issues found. The PR correctly:

  • Adds the "See All Changes" button when a task completes and checkpoints exist
  • Properly manages button state across task lifecycle
  • Sends the correct checkpointDiff message with mode "full"
  • Follows existing UI patterns for button styling

Looks good to merge.

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] See Changes Button

2 participants