assistant2: Start on modal for managing profiles (#27546)

This PR starts work on a modal for managing profiles.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-03-26 18:01:34 -04:00 committed by GitHub
parent 44aff7cd46
commit 0ac717c3a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 266 additions and 1 deletions

View file

@ -32,7 +32,7 @@ use prompt_store::PromptBuilder;
use settings::Settings as _;
pub use crate::active_thread::ActiveThread;
use crate::assistant_configuration::AddContextServerModal;
use crate::assistant_configuration::{AddContextServerModal, ManageProfilesModal};
pub use crate::assistant_panel::{AssistantPanel, ConcreteAssistantPanelDelegate};
pub use crate::inline_assistant::InlineAssistant;
pub use crate::thread::{Message, RequestKind, Thread, ThreadEvent};
@ -47,6 +47,7 @@ actions!(
RemoveAllContext,
OpenHistory,
OpenConfiguration,
ManageProfiles,
AddContextServer,
RemoveSelectedThread,
Chat,
@ -89,6 +90,7 @@ pub fn init(
cx,
);
cx.observe_new(AddContextServerModal::register).detach();
cx.observe_new(ManageProfilesModal::register).detach();
feature_gate_assistant2_actions(cx);
}