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:
parent
833653a3ea
commit
962b024248
5 changed files with 151 additions and 97 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue