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:
parent
44aff7cd46
commit
0ac717c3a8
4 changed files with 266 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue