mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
left_sidebar: Don't fade inactive channels (unless muted).
Part of #35552.
This commit is contained in:
@@ -531,6 +531,9 @@ class StreamSidebarRow {
|
|||||||
this.update_unread_count();
|
this.update_unread_count();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The `inactive_stream` class is useful for identifying these
|
||||||
|
// channels to node tests, even if the design doesn't currently
|
||||||
|
// style these channels differently.
|
||||||
update_whether_active(): void {
|
update_whether_active(): void {
|
||||||
if (stream_list_sort.has_recent_activity(this.sub)) {
|
if (stream_list_sort.has_recent_activity(this.sub)) {
|
||||||
this.$list_item.removeClass("inactive_stream");
|
this.$list_item.removeClass("inactive_stream");
|
||||||
|
|||||||
@@ -839,8 +839,7 @@ ul.filters {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& li.out_of_home_view,
|
& li.out_of_home_view {
|
||||||
.inactive_stream:not(.active-filter) {
|
|
||||||
.stream-privacy,
|
.stream-privacy,
|
||||||
.stream-name,
|
.stream-name,
|
||||||
.channel-new-topic-button,
|
.channel-new-topic-button,
|
||||||
|
|||||||
Reference in New Issue
Block a user