Change summary
crates/agent_ui/src/agent_panel.rs | 7 -------
crates/sidebar/src/sidebar.rs | 5 +++--
2 files changed, 3 insertions(+), 9 deletions(-)
Detailed changes
@@ -3348,13 +3348,6 @@ fn agent_panel_dock_position(cx: &App) -> DockPosition {
AgentSettings::get_global(cx).dock.into()
}
-fn agent_panel_side_str(cx: &App) -> &'static str {
- match agent_panel_dock_position(cx) {
- DockPosition::Left => "left",
- DockPosition::Right | DockPosition::Bottom => "right",
- }
-}
-
pub enum AgentPanelEvent {
ActiveViewChanged,
ThreadFocused,
@@ -32,7 +32,6 @@ use settings::Settings as _;
use std::collections::{HashMap, HashSet};
use std::mem;
use std::rc::Rc;
-use telemetry;
use theme::ActiveTheme;
use ui::{
AgentThreadStatus, CommonAnimationExt, ContextMenu, Divider, HighlightedLabel, KeyBinding,
@@ -2529,7 +2528,9 @@ impl Sidebar {
panel.clear_active_thread(window, cx);
});
}
- });
+ }
+ }
+ }
return;
}