forked from zulip/zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
left_sidebar: Add scrollbar for private messages region.
This fixes a longstanding UI issue when you have way too many recent private message conversations, as you can now scroll down the list to find what you're looking for. Fixes zulip#5384.
- Loading branch information
1 parent
af3b18d
commit 815d009
Showing
4 changed files
with
38 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
<ul class='expanded_private_messages {{zoom_class}}' data-name='private'> | ||
{{#each messages}} | ||
<li class='{{#if is_zero}}zero-topic-unreads{{/if}} {{#if zoom_out_hide}}zoom-out-hide{{/if}} expanded_private_message' data-user-ids-string='{{user_ids_string}}'> | ||
<span class='pm-box'> | ||
<a href='{{url}}' class="conversation-partners" title="{{ recipients }}"> | ||
{{recipients}} | ||
</a> | ||
<div class="private_message_count {{#if is_zero}}zero_count{{/if}}"> | ||
<div class="value">{{unread}}</div> | ||
</div> | ||
</span> | ||
<span class="arrow topic-sidebar-arrow"> | ||
<i class="fa fa-chevron-down" aria-hidden="true"></i> | ||
</span> | ||
</li> | ||
{{/each}} | ||
{{#if want_show_more_messages_links}} | ||
<li class="show-more-private-messages" data-name='more-private-messages'> | ||
<a href="#">({{t "more conversations" }})</a> | ||
</li> | ||
{{/if}} | ||
</ul> | ||
<div id="private-container" class="scrolling_list"> | ||
<ul class='expanded_private_messages {{zoom_class}}' data-name='private'> | ||
{{#each messages}} | ||
<li class='{{#if is_zero}}zero-topic-unreads{{/if}} {{#if zoom_out_hide}}zoom-out-hide{{/if}} expanded_private_message' data-user-ids-string='{{user_ids_string}}'> | ||
<span class='pm-box'> | ||
<a href='{{url}}' class="conversation-partners" title="{{ recipients }}"> | ||
{{recipients}} | ||
</a> | ||
<div class="private_message_count {{#if is_zero}}zero_count{{/if}}"> | ||
<div class="value">{{unread}}</div> | ||
</div> | ||
</span> | ||
<span class="arrow topic-sidebar-arrow"> | ||
<i class="fa fa-chevron-down" aria-hidden="true"></i> | ||
</span> | ||
</li> | ||
{{/each}} | ||
{{#if want_show_more_messages_links}} | ||
<li class="show-more-private-messages" data-name='more-private-messages'> | ||
<a href="#">({{t "more conversations" }})</a> | ||
</li> | ||
{{/if}} | ||
</ul> | ||
</div> |