zulip/frontend_tests
Steve Howell fad024ebda Simplify stream sidebar narrows.
This fix simplifies how we re-render topic lists when we
re-narrow or zoom out from a topic list.

    * The topic_list.zoom_out() no longer gets called as
      part of re-narrowing, and we eliminate the clear_topics
      option.

    * For all situations where we narrow to a filter that does
      not have a topic, we simply call the new function
      clear_topics().

    * The stream_list code no longer calls remove_expanded_topics()
      in cases where the new narrow has a topic.  This allows us
      to optimize away scroll/flicker churn a little more easily.

As part of this, we rename maybe_activate_stream_item() to
update_stream_sidebar_for_narrow(), since the function clears
stuff as well as turning stuff on.
2017-08-11 13:01:39 -07:00
..
casper_lib Add explicit message field for locally_echoed. 2017-07-21 11:38:25 -07:00
casper_tests settings: Migrate main settings-change code to API. 2017-07-31 13:08:06 -07:00
node_tests Simplify stream sidebar narrows. 2017-08-11 13:01:39 -07:00
zjsunit node tests: Extract zrequire helper. 2017-08-09 12:32:09 -07:00
.eslintrc.json node tests: Extract zrequire helper. 2017-08-09 12:32:09 -07:00
run-casper Disable proxy setting for test-backend and test-js-with-casper. 2017-04-18 12:35:44 -07:00