-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
App Version
v3.21.3
API Provider
Anthropic
Model Used
Claude 4 Sonnet
🔁 Steps to Reproduce
When using Roo to perform multi-file edits (such as applying AI-generated changes to multiple files at once), the current UI does not show a diff view or clear summary of what changed in each file.
In contrast, when editing a single file, Roo provides a visual diff editor that allows users to:
Compare before/after content;
Review AI suggestions;
Accept or reject specific changes.
This feature is extremely valuable for code safety and review.
However, when editing multiple files:
There's no clear indication of which files changed;
No visual diff or even inline summary of the modifications;
No way to review before applying the edits;
This leads to uncertainty and potential unintentional commits.
Steps to Reproduce:
Ask Roo to "Add logging to all files" or "Refactor all React components".
Roo will return a batch of file updates.
Click “Apply All” — you won’t see diffs or summaries per file.
Expected Behavior:
Each modified file should support:
A basic before/after diff viewer (like VSCode’s built-in diff tab);
Or at minimum, a per-file preview window showing the changes;
Or even a compact “what was changed” summary in plain text;
Impact:
Makes code reviews risky;
Users have low confidence applying batch changes;
Hard to debug regressions or audit AI logic without clear context.
Suggested Fixes:
Reuse the single-file diff viewer component across all batch edits;
Provide collapsible per-file summaries;
Let users preview changes before bulk-accepting.
💥 Outcome Summary
For example, when the AI model uses apply_diff to edit multiple files, there is no difference comparison function.
📄 Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status