Remove unread notes indicator for now (#11035)
Conrad Irwin
and
Marshall Bowers
created 2 years ago
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 <elliott.codes@gmail.com>
Change summary
crates/collab_ui/src/collab_panel.rs | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
Detailed changes
@@ -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()