From c8ada5b1ae9bd45efdec36c9b477eccb353092fb Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Wed, 5 Nov 2025 11:45:31 -0300 Subject: [PATCH] agent_ui: Reduce label repetitiveness on new thread menu (#42001) Mostly just removing "thread" from all external agent menu items; I think we can do without it and it already becomes much better/cleaner. Release Notes: - N/A --- crates/agent_ui/src/agent_configuration.rs | 2 +- crates/agent_ui/src/agent_panel.rs | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/crates/agent_ui/src/agent_configuration.rs b/crates/agent_ui/src/agent_configuration.rs index 4ece220b200ca5262148b41bb55f029780099281..ca033ced5c7d2e403b1880cb5d0dd522500fcac4 100644 --- a/crates/agent_ui/src/agent_configuration.rs +++ b/crates/agent_ui/src/agent_configuration.rs @@ -1013,7 +1013,7 @@ impl AgentConfiguration { .child(Divider::horizontal().color(DividerColor::BorderFaded)) .child(self.render_agent_server( AgentIcon::Name(IconName::AiOpenAi), - "Codex", + "Codex CLI", false, )) .child(Divider::horizontal().color(DividerColor::BorderFaded)) diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs index 2610933057bae12f2827b4e0b83aca50fd8b5fb6..c43a48e3538c22a03c444a6b3500ed621bbb5cf0 100644 --- a/crates/agent_ui/src/agent_panel.rs +++ b/crates/agent_ui/src/agent_panel.rs @@ -1880,7 +1880,12 @@ impl AgentPanel { { let focus_handle = focus_handle.clone(); move |_window, cx| { - Tooltip::for_action_in("New…", &ToggleNewThreadMenu, &focus_handle, cx) + Tooltip::for_action_in( + "New Thread…", + &ToggleNewThreadMenu, + &focus_handle, + cx, + ) } }, ) @@ -1978,7 +1983,7 @@ impl AgentPanel { .separator() .header("External Agents") .item( - ContextMenuEntry::new("New Claude Code Thread") + ContextMenuEntry::new("New Claude Code") .icon(IconName::AiClaude) .disabled(is_via_collab) .icon_color(Color::Muted) @@ -2004,7 +2009,7 @@ impl AgentPanel { }), ) .item( - ContextMenuEntry::new("New Codex Thread") + ContextMenuEntry::new("New Codex CLI") .icon(IconName::AiOpenAi) .disabled(is_via_collab) .icon_color(Color::Muted) @@ -2030,7 +2035,7 @@ impl AgentPanel { }), ) .item( - ContextMenuEntry::new("New Gemini CLI Thread") + ContextMenuEntry::new("New Gemini CLI") .icon(IconName::AiGemini) .icon_color(Color::Muted) .disabled(is_via_collab) @@ -2074,7 +2079,7 @@ impl AgentPanel { for agent_name in agent_names { let icon_path = agent_server_store_read.agent_icon(&agent_name); let mut entry = - ContextMenuEntry::new(format!("New {} Thread", agent_name)); + ContextMenuEntry::new(format!("New {}", agent_name)); if let Some(icon_path) = icon_path { entry = entry.custom_icon_path(icon_path); } else {