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 10:28:11 +01:00 committed by GitHub
parent 8add90d7cb
commit 7fe6188f8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 183 additions and 30 deletions

View file

@ -40,7 +40,7 @@ pub use crate::assistant_panel::{AssistantPanel, ConcreteAssistantPanelDelegate}
pub use crate::inline_assistant::InlineAssistant;
pub use crate::thread::{Message, RequestKind, Thread, ThreadEvent};
pub use crate::thread_store::ThreadStore;
pub use assistant_diff::AssistantDiff;
pub use assistant_diff::{AssistantDiff, AssistantDiffToolbar};
actions!(
assistant2,
@ -66,7 +66,9 @@ actions!(
AcceptSuggestedContext,
OpenActiveThreadAsMarkdown,
ToggleKeep,
Reject
Reject,
RejectAll,
KeepAll
]
);