Skip to content

agent_ui: Add the ability to undo "reject all"#48462

Merged
danilo-leal merged 16 commits intomainfrom
reject-all-undo
Feb 18, 2026
Merged

agent_ui: Add the ability to undo "reject all"#48462
danilo-leal merged 16 commits intomainfrom
reject-all-undo

Conversation

@danilo-leal
Copy link
Member

Closes #39294

This PR implements the ability to undo the "reject all" action from the agent panel (and the other places where this button is surfaced). Effectively, this allows to recuperate the edits an agent has introduced in case you either accidentally clicked the button or regretted the decision to reject all.

Screenshot.2026-02-05.at.8.05.mp4

Release Notes:

  • Agent: Introduced the ability to undo the "reject all" action from agent-made changes.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 5, 2026
@SomeoneToIgnore SomeoneToIgnore added the area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features label Feb 5, 2026
@zelenenka zelenenka added the staff Pull requests authored by a current member of Zed staff label Feb 6, 2026
@danilo-leal danilo-leal requested review from a team as code owners February 18, 2026 16:30
danilo-leal and others added 3 commits February 18, 2026 14:25
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
@danilo-leal danilo-leal merged commit 52fc14f into main Feb 18, 2026
27 checks passed
@danilo-leal danilo-leal deleted the reject-all-undo branch February 18, 2026 18:49
@samwho
Copy link
Contributor

samwho commented Mar 4, 2026

omg thank you so much for this

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

Labels

area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI: clicking "Reject All" doesn't warn you and just deletes the changes

4 participants