mirror of https://github.com/zulip/zulip.git
eb9f7a04b7
In the first cut at topic zoom, I was re-rendering the streams list, but this created glitches with orphaned list items. The reproducible bug was that unread counts on unshown streams weren't updating. In the new approach, I keep the elements more permanent, and I just hide and show them as needed, either through jQuery show/hide or permanent CSS selectors. I got rid of toggle_zoom(), so that we just explicitly zoom in and zoom out in all situations. In particular, when we narrow, it's more clear now that only stay zoomed in when we're narrowing to the same stream as before (including topic narrows within that stream). When you zoom in, the number of topics is no longer limited to 30, since that was kind of arbitrary anyway. (In practice, the number of topics is usually well under 30, anyway, due to the way we track them on the client.) (imported from commit 5b6c143dee9ba9fe557d8cc36335ff28efb4b0de) |
||
---|---|---|
.. | ||
.gitignore | ||
actions_popover_content.handlebars | ||
admin_streams_list.handlebars | ||
admin_user_list.handlebars | ||
alert_word_settings_item.handlebars | ||
announce_stream_docs.handlebars | ||
bankruptcy_modal.handlebars | ||
bot_avatar_row.handlebars | ||
compose-invite-users.handlebars | ||
compose_notification.handlebars | ||
email_address_hint.handlebars | ||
group_pms.handlebars | ||
invite_subscription.handlebars | ||
message.handlebars | ||
message_edit_form.handlebars | ||
message_info_popover_content.handlebars | ||
message_info_popover_title.handlebars | ||
new_stream_users.handlebars | ||
notification.handlebars | ||
notification_docs.handlebars | ||
sidebar_subject_list.handlebars | ||
stream_sidebar_actions.handlebars | ||
stream_sidebar_row.handlebars | ||
subscription.handlebars | ||
subscription_table_body.handlebars | ||
tab_bar.handlebars | ||
topic_edit_form.handlebars | ||
topic_sidebar_actions.handlebars | ||
trailing_bookend.handlebars | ||
tutorial_home.handlebars | ||
tutorial_message.handlebars | ||
tutorial_private.handlebars | ||
tutorial_reply.handlebars | ||
tutorial_stream.handlebars | ||
tutorial_subject.handlebars | ||
tutorial_title.handlebars | ||
tutorial_welcome.handlebars | ||
user_presence_rows.handlebars | ||
user_sidebar_actions.handlebars |