Update workspace mentions in the sidebar (#54833)

Replaces "workspace" labels in the sidebar with more accurate
terminology:

- "Focus Last Workspace" → "Focus Last Project"
- "Focus Workspace" → "Focus Project"
- "Close Workspace" tooltip → "Close Worktree"

Release Notes:

- N/A
This commit is contained in:
María Craig 2026-05-19 17:05:13 -03:00 committed by GitHub
parent 69effe73d9
commit 40d3c79f2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2276,9 +2276,9 @@ impl Sidebar {
.child(Label::new("-click").color(Color::Muted));
let label = if has_threads {
"Focus Last Workspace"
"Focus Last Project"
} else {
"Focus Workspace"
"Focus Project"
};
h_flex()
@ -2390,7 +2390,7 @@ impl Sidebar {
)
.icon_size(IconSize::Small)
.visible_on_hover(&row_group_name)
.tooltip(Tooltip::text("Close Workspace"))
.tooltip(Tooltip::text("Close Worktree"))
.on_click(move |_, window, cx| {
cx.stop_propagation();
window.prevent_default();