Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove debugging
Conrad Irwinb13638fa7632
diff --git a/crates/collab_ui2/src/collab_panel.rs b/crates/collab_ui2/src/collab_panel.rsindex 7ef2d47c819..3bbdfd5f922 100644--- a/crates/collab_ui2/src/collab_panel.rs+++ b/crates/collab_ui2/src/collab_panel.rs@@ -3044,7 +3044,7 @@ impl CollabPanel {}).unwrap_or(false);- let has_messages_notification = channel.unseen_message_id.is_some() || true;+ let has_messages_notification = channel.unseen_message_id.is_some();let has_notes_notification = channel.unseen_note_version.is_some();const FACEPILE_LIMIT: usize = 3;@@ -3092,11 +3092,10 @@ impl CollabPanel {.child(div().id("channel_chat")- .bg(gpui::blue()).when(!has_messages_notification, |el| el.invisible()).group_hover("", |style| style.visible()).child(- IconButton::new("test_chat", Icon::MessageBubbles)+ IconButton::new("channel_chat", Icon::MessageBubbles).color(if has_messages_notification {Color::Default} else {@@ -3111,20 +3110,16 @@ impl CollabPanel {.when(!has_notes_notification, |el| el.invisible()).group_hover("", |style| style.visible()).child(- div().child("Notes").id("test_notes").tooltip(|cx| {- Tooltip::text("Open channel notes", cx)- }),- ), // .child(- // IconButton::new("channel_notes", Icon::File)- // .color(if has_notes_notification {- // Color::Default- // } else {- // Color::Muted- // })- // .tooltip(|cx| {- // Tooltip::text("Open channel notes", cx)- // }),- // ),+ IconButton::new("channel_notes", Icon::File)+ .color(if has_notes_notification {+ Color::Default+ } else {+ Color::Muted+ })+ .tooltip(|cx| {+ Tooltip::text("Open channel notes", cx)+ }),+ ),),),)