Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Change "prompt editor" to "text thread" (#28370)

Danilo Leal0d4ca71e685c
diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rs
index f269d1ca2e8..950b8acaaa2 100644
--- a/crates/agent/src/assistant_panel.rs
+++ b/crates/agent/src/assistant_panel.rs
@@ -1080,7 +1080,7 @@ impl AssistantPanel {
cx,
|menu, _window, _cx| {
menu.action(
- "New Prompt Editor",
+ "New Text Thread",
NewPromptEditor.boxed_clone(),
)
.when(!is_empty, |menu| {
diff --git a/crates/agent/src/thread_history.rs b/crates/agent/src/thread_history.rs
index cf8aee7329e..a4102f28d65 100644
--- a/crates/agent/src/thread_history.rs
+++ b/crates/agent/src/thread_history.rs
@@ -452,12 +452,7 @@ impl RenderOnce for PastThread {
.shape(IconButtonShape::Square)
.icon_size(IconSize::XSmall)
.tooltip(move |window, cx| {
- Tooltip::for_action(
- "Delete Thread",
- &RemoveSelectedThread,
- window,
- cx,
- )
+ Tooltip::for_action("Delete", &RemoveSelectedThread, window, cx)
})
.on_click({
let assistant_panel = self.assistant_panel.clone();
@@ -559,12 +554,7 @@ impl RenderOnce for PastContext {
.shape(IconButtonShape::Square)
.icon_size(IconSize::XSmall)
.tooltip(move |window, cx| {
- Tooltip::for_action(
- "Delete Prompt Editor",
- &RemoveSelectedThread,
- window,
- cx,
- )
+ Tooltip::for_action("Delete", &RemoveSelectedThread, window, cx)
})
.on_click({
let assistant_panel = self.assistant_panel.clone();