Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent_view: Hide unread marker bar when "Unread" filter is active.
Alya Abbott976f16533547
diff --git a/web/src/recent_view_ui.ts b/web/src/recent_view_ui.tsindex 99cc9e5a27d..b92369248b1 100644--- a/web/src/recent_view_ui.ts+++ b/web/src/recent_view_ui.ts@@ -1210,6 +1210,10 @@ function show_selected_filters(): void {.addClass("button-recent-selected").attr("aria-checked", "true");}++ // Toggle class so CSS can hide the unread marker bar when+ // every visible row is already unread.+ $("#recent_view").toggleClass("recent-view-filtered-by-unread", filters.has("unread"));}function get_recent_view_filters_params(): {diff --git a/web/styles/recent_view.css b/web/styles/recent_view.cssindex fdde3d7c205..82868e2da56 100644--- a/web/styles/recent_view.css+++ b/web/styles/recent_view.css@@ -496,6 +496,12 @@border-bottom-left-radius: 0;}+ /* Hide the unread marker bar when the "Unread" filter is active,+ since every visible row is already unread. */+ &.recent-view-filtered-by-unread .unread_topic .recent_topic_name::before {+ display: none;+ }+.last_msg_time {float: left;margin-right: 5px;