Introduce "Keep All" and "Reject All" buttons when reviewing assistant edits (#27724)
Release Notes: - N/A
This commit is contained in:
parent
8add90d7cb
commit
7fe6188f8e
7 changed files with 183 additions and 30 deletions
|
@ -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()
|
||||
|
|
|
@ -4013,6 +4013,7 @@ impl EditorElement {
|
|||
*is_created_file,
|
||||
line_height,
|
||||
&editor,
|
||||
window,
|
||||
cx,
|
||||
);
|
||||
let size =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue