Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unread notes indicator for now (#11035)

Conrad Irwin7f229dc202d8
diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs
index d9b3f1abbf0..7f843b7a86b 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<ChannelStore>,
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()