agent: Improve the review changes UX (#29221)

Release Notes:

- agent: Improved the AI-generated changes review UX by clearly exposing
the generating state in the multibuffer tab.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
Bennet Bo Fenner
2025-04-22 13:08:35 -03:00
committed by GitHub
co-authored by Danilo Leal
parent 833653a3ea
commit 962b024248
5 changed files with 151 additions and 97 deletions
+3 -1
View File
@@ -405,8 +405,10 @@ impl MessageEditor {
});
}
fn handle_review_click(&self, window: &mut Window, cx: &mut Context<Self>) {
fn handle_review_click(&mut self, window: &mut Window, cx: &mut Context<Self>) {
self.edits_expanded = true;
AgentDiff::deploy(self.thread.clone(), self.workspace.clone(), window, cx).log_err();
cx.notify();
}
fn handle_file_click(