Skip to content

Commit a260ba6

Browse files
authored
agent_ui: Simplify labels in new thread menu (zed-industries#42746)
Drop the "new", it's simpler! 😆 | Before | After | |--------|--------| | <img width="800" height="932" alt="Screenshot 2025-11-14 at 2  48@2x" src="https://github.com/user-attachments/assets/efa67d57-9b5c-4eef-8dc7-f36c8e6a4a90" /> | <img width="800" height="772" alt="Screenshot 2025-11-14 at 2  47@2x" src="https://github.com/user-attachments/assets/042d2a0b-24b4-4ad5-8411-82e0eafb993f" /> | Release Notes: - N/A
1 parent a8e0de3 commit a260ba6

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

crates/agent_ui/src/agent_panel.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,6 @@ impl AgentPanel {
19051905
let active_thread = active_thread.clone();
19061906
Some(ContextMenu::build(window, cx, |menu, _window, cx| {
19071907
menu.context(focus_handle.clone())
1908-
.header("Zed Agent")
19091908
.when_some(active_thread, |this, active_thread| {
19101909
let thread = active_thread.read(cx);
19111910

@@ -1929,9 +1928,9 @@ impl AgentPanel {
19291928
}
19301929
})
19311930
.item(
1932-
ContextMenuEntry::new("New Thread")
1931+
ContextMenuEntry::new("Zed Agent")
19331932
.action(NewThread.boxed_clone())
1934-
.icon(IconName::Thread)
1933+
.icon(IconName::ZedAgent)
19351934
.icon_color(Color::Muted)
19361935
.handler({
19371936
let workspace = workspace.clone();
@@ -1955,7 +1954,7 @@ impl AgentPanel {
19551954
}),
19561955
)
19571956
.item(
1958-
ContextMenuEntry::new("New Text Thread")
1957+
ContextMenuEntry::new("Text Thread")
19591958
.icon(IconName::TextThread)
19601959
.icon_color(Color::Muted)
19611960
.action(NewTextThread.boxed_clone())
@@ -1983,7 +1982,7 @@ impl AgentPanel {
19831982
.separator()
19841983
.header("External Agents")
19851984
.item(
1986-
ContextMenuEntry::new("New Claude Code")
1985+
ContextMenuEntry::new("Claude Code")
19871986
.icon(IconName::AiClaude)
19881987
.disabled(is_via_collab)
19891988
.icon_color(Color::Muted)
@@ -2009,7 +2008,7 @@ impl AgentPanel {
20092008
}),
20102009
)
20112010
.item(
2012-
ContextMenuEntry::new("New Codex CLI")
2011+
ContextMenuEntry::new("Codex CLI")
20132012
.icon(IconName::AiOpenAi)
20142013
.disabled(is_via_collab)
20152014
.icon_color(Color::Muted)
@@ -2035,7 +2034,7 @@ impl AgentPanel {
20352034
}),
20362035
)
20372036
.item(
2038-
ContextMenuEntry::new("New Gemini CLI")
2037+
ContextMenuEntry::new("Gemini CLI")
20392038
.icon(IconName::AiGemini)
20402039
.icon_color(Color::Muted)
20412040
.disabled(is_via_collab)
@@ -2079,7 +2078,7 @@ impl AgentPanel {
20792078
for agent_name in agent_names {
20802079
let icon_path = agent_server_store_read.agent_icon(&agent_name);
20812080
let mut entry =
2082-
ContextMenuEntry::new(format!("New {}", agent_name));
2081+
ContextMenuEntry::new(format!("{}", agent_name));
20832082
if let Some(icon_path) = icon_path {
20842083
entry = entry.custom_icon_svg(icon_path);
20852084
} else {

0 commit comments

Comments
 (0)