From b4fb8ff20e9d9576595b5b3cc72110e0139176e2 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 6 Jan 2026 11:54:34 +0100 Subject: [PATCH] recent_projects: Improve remote picker UX with long paths (#46151) Closes #36503 Release Notes: - Improved readability of long paths in remote project picker --- crates/recent_projects/src/remote_servers.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/recent_projects/src/remote_servers.rs b/crates/recent_projects/src/remote_servers.rs index e4770e0c79ed53131afb6662fe4a121aeff47ccc..70423196e8e0acd9ef6ba3430eb0b2374d1b8f40 100644 --- a/crates/recent_projects/src/remote_servers.rs +++ b/crates/recent_projects/src/remote_servers.rs @@ -1411,11 +1411,12 @@ impl RemoteServerProjects { .color(Color::Muted) .size(IconSize::Small), ) - .child(Label::new(project.paths.join(", "))) + .child(Label::new(project.paths.join(", ")).truncate_start()) .on_click(cx.listener(move |this, e: &ClickEvent, window, cx| { let secondary_confirm = e.modifiers().platform; callback(this, secondary_confirm, window, cx) })) + .tooltip(Tooltip::text(project.paths.join("\n"))) .when(is_from_zed, |server_list_item| { server_list_item.end_hover_slot::(Some( div()