Introduce "Keep All" and "Reject All" buttons when reviewing assistant edits (#27724)

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra
2025-03-29 09:28:11 +00:00
committed by GitHub
parent 8add90d7cb
commit 7fe6188f8e
7 changed files with 183 additions and 30 deletions
+2
View File
@@ -228,6 +228,7 @@ pub type RenderDiffHunkControlsFn = Arc<
bool,
Pixels,
&Entity<Editor>,
&mut Window,
&mut App,
) -> AnyElement,
>;
@@ -20011,6 +20012,7 @@ fn render_diff_hunk_controls(
is_created_file: bool,
line_height: Pixels,
editor: &Entity<Editor>,
_window: &mut Window,
cx: &mut App,
) -> AnyElement {
h_flex()
+1
View File
@@ -4013,6 +4013,7 @@ impl EditorElement {
*is_created_file,
line_height,
&editor,
window,
cx,
);
let size =