Skip to content

No Diff Viewer or Per-File Summary for Multi-File AI Edits #5067

@exilelabs

Description

@exilelabs

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

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions