zulip/frontend_tests/zjsunit
Steve Howell fb712027bf buddy list: Fix and simplify up/down navigation.
This introduces a generic class called list_cursor to handle the
main details of navigating the buddy list and wires it into
activity.js.  It replaces some fairly complicated code that
was coupled to stream_list and used lots of jQuery.

The new code interacts with the buddy_list API instead of jQuery
directly.  It also persists the key across redraws, so we don't
lose our place when a focus ping happens or we type more characters.

Note that we no longer cycle to the top when we hit the bottom, or
vice versa.  Cycling can be kind of an anti-feature when you want to
just lay on the arrow keys until they hit the end.

The changes to stream_list.js here do not affect the left sidebar;
they only remove code that was used for the right sidebar.
2018-04-28 11:15:14 -07:00
..
bugdown_assert.js markdown-tests: Show bugdown testcase name on failure. 2018-03-28 17:35:47 -07:00
finder.js tests: Make test-js-with-node handling smarter. 2018-03-26 06:35:58 -04:00
i18n.js Fix various typos. 2017-11-09 16:26:38 +01:00
index.js node tests: Avoid sneaky throttle/debounce delays. 2018-04-26 08:42:47 -07:00
mdiff.js node tests: Add nice diffs to js markdown tests. 2017-12-18 19:03:38 -05:00
namespace.js node test: Remove add_dependencies(). 2017-11-08 12:24:17 -08:00
render.js deps: Upgrade and move `underscore.js` from `static/third` to `npm` 2017-01-19 17:07:45 -08:00
stub.js node tests: Add with_stub() helper. 2017-03-13 15:09:53 -07:00
zblueslip.js zblueslip: Log output for all function calls. 2018-04-23 16:18:35 -07:00
zjquery.js buddy list: Fix and simplify up/down navigation. 2018-04-28 11:15:14 -07:00