From d2f0452fb0792b79ea7e7a4c3e15b3ac2b69658c Mon Sep 17 00:00:00 2001 From: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com> Date: Wed, 8 Apr 2026 01:37:24 -0400 Subject: [PATCH] collab: Remove incoming invite badge count from panel icon (#53363) Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - N/A or Added/Fixed/Improved ... --- crates/collab_ui/src/collab_panel.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs index 1cff27ac6b2f3c61f7a90c4a9ca6749d4b1e48b7..c17cdc3d6e529a311c308aa4f13cd4acd66dd84b 100644 --- a/crates/collab_ui/src/collab_panel.rs +++ b/crates/collab_ui/src/collab_panel.rs @@ -3728,17 +3728,6 @@ impl Panel for CollabPanel { .then_some(ui::IconName::UserGroup) } - fn icon_label(&self, _window: &Window, cx: &App) -> Option { - let user_store = self.user_store.read(cx); - let count = user_store.incoming_contact_requests().len() - + self.channel_store.read(cx).channel_invitations().len(); - if count == 0 { - None - } else { - Some(count.to_string()) - } - } - fn icon_tooltip(&self, _window: &Window, _cx: &App) -> Option<&'static str> { Some("Collab Panel") }