Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Inline diff display with per-file and global Accept/Deny controls”

Open ascimovtech opened this issue 1 year ago • 8 comments

Feature Description

Currently, when Kiro suggests code deletions or edits, changes are applied silently with a single “Accept/Reject” prompt—without any inline diff visibility. This makes it hard to see what changed or where. The proposed UX improvement would enable:

In-chat, inline diffs showing additions (e.g., green highlights) and deletions (e.g., red strikethroughs) directly in the chat.

Per-file controls alongside each diff snippet labeled “Accept” or “Deny.”

Global controls at the end, e.g., “Accept All” / “Deny All,” for quick review.

Use Case

  1. User invokes Kiro to refactor a project (e.g., remove unused imports across multiple files).

  2. Kiro presents diffs month-by-line, file-by-file, e.g.:

    file: utils/string_helpers.js
    
    - const unused = require('something');
    + // removed unused import
    
  3. Next to each snippet:

    • [Accept] → applies this change.
    • [Deny] → skips this change.
  4. At the end of the review:

    • [Accept All] → applies all remaining suggestions.
    • [Deny All] → rejects all remaining suggestions.
  5. Final chat summary lists which suggestions were accepted or skipped.

Additional Context

No response

ascimovtech avatar Jul 15 '25 10:07 ascimovtech

This is core functionality for a product like this and simply a must-have. It boggles my mind that it wasn’t included in the first version (e.g., more important than MCPs, IMO).

uripre avatar Jul 15 '25 13:07 uripre

+1

shlomiweinberger avatar Jul 15 '25 14:07 shlomiweinberger

HI @reagnttech thank you for opening this issue. When a task completes or an agent execution finishes, you should be able to see an link or button titled "View changes" which should show all the changes/diffs. Is there something specific about this flow that doesn't work for you?

nadetastic avatar Jul 16 '25 00:07 nadetastic

HI @reagnttech thank you for opening this issue. When a task completes or an agent execution finishes, you should be able to see an link or button titled "View changes" which should show all the changes/diffs. Is there something specific about this flow that doesn't work for you?

Hey Nadetastic, thanks for the quick follow-up.

Kiro’s current approach of showing all diffs in a single changelog file is a solid start—it’s great for reviewing everything in one place. However, I feel the UX could be significantly improved by offering a more granular, file-by-file diff view. When multiple files are changed, it becomes harder to parse and understand the impact without jumping back and forth or scanning through a long list.

What would really enhance the experience is a page-by-page diff UI, similar to what we see when comparing branches in Git. This would let users review changes per file and offer more context.

Additionally, partial accept/deny functionality is something I find extremely valuable—especially when you don’t want to accept an entire change blindly. The ability to accept or reject individual lines, added/removed blocks, or even specific values within a file gives much better control. Having inline controls (like small "Yes/No" buttons below each change) would make this super intuitive.

On top of that, allowing a user to accept/deny all changes at a page level or apply all incoming changes across the board (like “accept all incoming” or “reject all”) would provide both flexibility and speed.

Tools like Cursor already offer something similar, and I often find myself relying on partial control to review and fine-tune diffs before applying them. Bringing a similar UX to Kiro would make a big difference for devs who prefer to be deliberate and precise with their changes.

Hope this gives some perspective! Happy to chat more if needed.

ascimovtech avatar Jul 16 '25 04:07 ascimovtech

HI @reagnttech thank you for opening this issue. When a task completes or an agent execution finishes, you should be able to see an link or button titled "View changes" which should show all the changes/diffs. Is there something specific about this flow that doesn't work for you?

In my opinion, the current experience for reviewing changes is really night and day compared to Cursor. From what I managed to see, the experience differs slightly depending on whether you work with autopilot on or off.

If autopilot is on:

  1. Seeing the changes in a separate tab instead of in the context of the files I'm working on is suboptimal.
  2. This tab is not editable and is missing regular tab features such as "go to declaration" etc.
  3. Could not find a way to revert specific changes (?)
  4. Inability to "accept" changes makes it more difficult to follow which parts I've already reviewed (like Cursor, or Github's "Viewed" checkbox).

If autopilot is off:

  1. Can't actually tell which files were edited! The summary only says "Waiting on your input..." and "Reject all"/"Approve all", so I need to go through the entire message and search for the files, then press "View diff" for each one!
  2. The diff then has a revert button, but no accept (so same as issue 4 above).
  3. It is editable, but again, I'd prefer to just see the changes in the regular tabs I'm working on (same as issue 1), with this singular diff tab as an optional feature.

I personally feel Cursor's experience here is a perfect fit for my workflow - seeing the changes inline, being able to accept/reject each one, and easily being able to navigate through the changes both within and across files.

uripre avatar Jul 16 '25 10:07 uripre

HI @reagnttech thank you for opening this issue. When a task completes or an agent execution finishes, you should be able to see an link or button titled "View changes" which should show all the changes/diffs. Is there something specific about this flow that doesn't work for you?

In my opinion, the current experience for reviewing changes is really night and day compared to Cursor. From what I managed to see, the experience differs slightly depending on whether you work with autopilot on or off.

If autopilot is on:

  1. Seeing the changes in a separate tab instead of in the context of the files I'm working on is suboptimal.
  2. This tab is not editable and is missing regular tab features such as "go to declaration" etc.
  3. Could not find a way to revert specific changes (?)
  4. Inability to "accept" changes makes it more difficult to follow which parts I've already reviewed (like Cursor, or Github's "Viewed" checkbox).

If autopilot is off:

  1. Can't actually tell which files were edited! The summary only says "Waiting on your input..." and "Reject all"/"Approve all", so I need to go through the entire message and search for the files, then press "View diff" for each one!
  2. The diff then has a revert button, but no accept (so same as issue 4 above).
  3. It is editable, but again, I'd prefer to just see the changes in the regular tabs I'm working on (same as issue 1), with this singular diff tab as an optional feature.

I personally feel Cursor's experience here is a perfect fit for my workflow - seeing the changes inline, being able to accept/reject each one, and easily being able to navigate through the changes both within and across files.

Yeah, totally agree — the UX of Cursor (and Windsurf to some extent) is honestly unmatched right now. There's something about that seamless inline review, per-change accept/reject, and file-aware diffing that just fits the workflow so well. I genuinely feel that more tools — whether open source like roocode/void or platforms like KIRO — should strive for that level of polish. For me too, it's the UX that’s keeping me in Cursor at the moment, and I’d love to see more players bring similar experiences to the table. The more competition on this front, the better for all of us.

ascimovtech avatar Jul 22 '25 07:07 ascimovtech

If autopilot is off:

  1. Can't actually tell which files were edited! The summary only says "Waiting on your input..." and "Reject all"/"Approve all", so I need to go through the entire message and search for the files, then press "View diff" for each one!

  2. The diff then has a revert button, but no accept (so same as issue 4 above).

  3. It is editable, but again, I'd prefer to just see the changes in the regular tabs I'm working on (same as issue 1), with this singular diff tab as an optional feature.

This was the most surprising to me. I was expecting that with autopilot off, I would be able to approve or deny every individual edit, but it seems like it just batches up all its changes then asks you to reject or approve all of them in bulk. Once you accept, then it allows you to see the diff of what happened, and can revert from there. But to me that was very counterintuitive.

Thimoteus avatar Jul 22 '25 20:07 Thimoteus

This has been shipped. Kiro IDE 0.8 introduced Enhanced Supervised Mode with per-file review, and 0.10 added Hunk-Based Review for per-hunk accept/reject control. See https://kiro.dev/changelog/ide/0-10/ for details. Closing as resolved.

AnilMaktala avatar Apr 15 '26 14:04 AnilMaktala