mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
Add link to show all streams when you are zoomed in.
When your left sidebar is zoomed to show just one stream, there is a link to to show all streams again. (imported from commit 92f39b042168c443cbb9f524bf892557ef492551)
This commit is contained in:
@@ -443,6 +443,12 @@ $(function () {
|
||||
previous_sort_order = undefined;
|
||||
});
|
||||
|
||||
$('.show-all-streams').on('click', function (e) {
|
||||
toggle_zoom();
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$('#stream_filters').on('dblclick', 'li .subscription_block', function (e) {
|
||||
if (!feature_flags.topic_zooming) {
|
||||
return;
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<a href=""><i id="streams_inline_cog" class='icon-vector-cog' data-toggle="tooltip" title="Subscribe, add, or configure streams"></i></a>
|
||||
</div>
|
||||
<div id="topics_header">
|
||||
<div class="show-all-streams"><a href="">Show all streams</a></div>
|
||||
<h4 class="sidebar-title">TOPICS</h4>
|
||||
</div>
|
||||
<ul id="stream_filters" class="filters scrolling_list"></ul>
|
||||
|
||||
Reference in New Issue
Block a user