Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Evy Kassirer3ced9a1ad39d
diff --git a/web/src/stream_list.ts b/web/src/stream_list.ts
index 60e6e8c696c..a403ff92b7e 100644
--- a/web/src/stream_list.ts
+++ b/web/src/stream_list.ts
@@ -531,6 +531,9 @@ class StreamSidebarRow {
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 {
if (stream_list_sort.has_recent_activity(this.sub)) {
this.$list_item.removeClass("inactive_stream");
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 6771b3b458c..614efbc50e2 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -839,8 +839,7 @@ ul.filters {
}
}
- & li.out_of_home_view,
- .inactive_stream:not(.active-filter) {
+ & li.out_of_home_view {
.stream-privacy,
.stream-name,
.channel-new-topic-button,