Skip to content

Commit

Permalink
Remove unread notes indicator for now (zed-industries#11035)
Browse files Browse the repository at this point in the history
I'd like to add something back here, but it's more distracting than
helpful today.

Fixes: zed-industries#10887

Release Notes:

- Removed channel notes unread indicator

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
  • Loading branch information
ConradIrwin and maxdeviant authored Apr 26, 2024
1 parent 03d0b68 commit 7f229dc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/collab_ui/src/collab_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2970,6 +2970,7 @@ impl Render for DraggedChannelView {
struct JoinChannelTooltip {
channel_store: Model<ChannelStore>,
channel_id: ChannelId,
#[allow(unused)]
has_notes_notification: bool,
}

Expand All @@ -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()
Expand Down

0 comments on commit 7f229dc

Please sign in to comment.