left_sidebar: Don't fade inactive channels (unless muted).

Part of #35552.
This commit is contained in:
Evy Kassirer
2025-07-31 12:16:53 -07:00
committed by Tim Abbott
parent ef5796a05b
commit 3ced9a1ad3
2 changed files with 4 additions and 2 deletions

View File

@@ -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");

View File

@@ -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,