From 7f229dc202d8e98ce05406c9dc8028a26bd382c1 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Thu, 25 Apr 2024 21:50:31 -0600 Subject: [PATCH] Remove unread notes indicator for now (#11035) I'd like to add something back here, but it's more distracting than helpful today. Fixes: #10887 Release Notes: - Removed channel notes unread indicator --------- Co-authored-by: Marshall Bowers --- crates/collab_ui/src/collab_panel.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs index d9b3f1abbf0dd81c460ad1a1fd50d1fb4ef8bd58..7f843b7a86bd147982cf2397273040add29e61e2 100644 --- a/crates/collab_ui/src/collab_panel.rs +++ b/crates/collab_ui/src/collab_panel.rs @@ -2970,6 +2970,7 @@ impl Render for DraggedChannelView { struct JoinChannelTooltip { channel_store: Model, channel_id: ChannelId, + #[allow(unused)] has_notes_notification: bool, } @@ -2983,12 +2984,6 @@ impl Render for JoinChannelTooltip { container .child(Label::new("Join channel")) - .children(self.has_notes_notification.then(|| { - h_flex() - .gap_2() - .child(Indicator::dot().color(Color::Info)) - .child(Label::new("Unread notes")) - })) .children(participants.iter().map(|participant| { h_flex() .gap_2()