assistant: Extract ContextEditor and ContextHistory to their own modules (#23422)

This PR extracts the `ContextEditor` and `ContextHistory`
implementations into their own modules so that it's clearer which parts
depend on other constructs in the `assistant` crate.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-01-21 14:10:13 -05:00 committed by GitHub
parent c825bb492d
commit 51b6cbf9ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 3830 additions and 3799 deletions

View file

@ -5,7 +5,7 @@ use gpui::{AnyElement, DismissEvent, SharedString, Task, WeakView};
use picker::{Picker, PickerDelegate, PickerEditorPosition};
use ui::{prelude::*, ListItem, ListItemSpacing, PopoverMenu, PopoverTrigger, Tooltip};
use crate::assistant_panel::ContextEditor;
use crate::context_editor::ContextEditor;
#[derive(IntoElement)]
pub(super) struct SlashCommandSelector<T: PopoverTrigger> {