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

Release Notes:

- N/A
This commit is contained in:
Danilo Leal authored and GitHub committed 2025-04-08 19:56:01 -03:00
1 parent d3e671536f
commit aa6e04207c
2 files changed
+3 -13

No files matched your search

+1 -1
View File
@@ -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| {
+2 -12
View File
@@ -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();