From a41e97378204f8382a2d55e7fb633822376860c3 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Thu, 17 Oct 2024 03:25:15 +0200 Subject: [PATCH] ssh: Remove server count from modal header (#19329) The server count was something that existed since the remote development implementation and we just kept it there without a lot of critical thinking. However, it doesn't feel like it's particularly useful yet, which means that, at least for now, we could clean it up more and wait for further feedback to add it back, if ever requested. Release Notes: - N/A --- crates/recent_projects/src/dev_servers.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/crates/recent_projects/src/dev_servers.rs b/crates/recent_projects/src/dev_servers.rs index 1babc03627..75b78f1654 100644 --- a/crates/recent_projects/src/dev_servers.rs +++ b/crates/recent_projects/src/dev_servers.rs @@ -1151,17 +1151,10 @@ impl DevServerProjects { ) .into_any_element(); - let server_count = format!("Servers: {}", ssh_connections.len()); - Modal::new("remote-projects", Some(self.scroll_handle.clone())) .header( - ModalHeader::new().child( - h_flex() - .items_center() - .justify_between() - .child(Headline::new("Remote Projects (alpha)").size(HeadlineSize::XSmall)) - .child(Label::new(server_count).size(LabelSize::Small)), - ), + ModalHeader::new() + .child(Headline::new("Remote Projects (alpha)").size(HeadlineSize::XSmall)), ) .section( Section::new().padded(false).child(