mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
user_settings: Add new user setting to show/hide unread counts on streams.
Added a show_unread_counts personal user setting to the Settings > Display settings > Advanced section which lets user choose whether he/she wants to see unread messages count on the left sidebar for streams. This setting have three options, "All Streams" - This will show unread messages count for all streams. "Unmuted Stream" - This will be default option and it will only show unread messages count for unmuted streams. "No Stream" - This option will not show unread messages count on any stream. Fixes #24149
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<li class="narrow-filter{{#if is_muted}} out_of_home_view{{/if}}" data-stream-id="{{id}}">
|
||||
<div class="bottom_left_row">
|
||||
<div class="subscription_block selectable_sidebar_block">
|
||||
<div class="subscription_block selectable_sidebar_block {{#if hide_unread_count}}hide_unread_counts{{/if}}">
|
||||
|
||||
<span class="stream-privacy-original-color-{{id}} stream-privacy filter-icon" style="color: {{color}}">
|
||||
{{> stream_privacy }}
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
<span class="unread_mention_info"></span>
|
||||
<span class="unread_count"></span>
|
||||
<span class="masked_unread_count"></span>
|
||||
</div>
|
||||
<span class="stream-sidebar-menu-icon hidden-for-spectators"><i class="zulip-icon zulip-icon-ellipsis-v-solid" aria-hidden="true"></i></span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user