zulip/frontend_tests
Tim Abbott 1d5204c82b narrow: Fix incorrect values for use_first_unread_anchor.
Apparently, we were incorrectly passing through something related to
opts.use_initial_narrow_pointer as the value for `use_first_anchor`.

If you read the logic in narrow.js carefully,
use_initial_narrow_pointer was unconditionally false.

The correct value for this attribute is when we're trying to narrow to
the first unread message in a given context.  There are two things to
check:

* then_select_id is -1; i.e. we don't have a specific message ID we're
  trying to narrow around.
* select_first_unread is True, i.e. we're trying to narrow to the
  first unread message.

A bit more work should allow us to get rid of the second condition,
but I'm not quite confident enough to do that yet.
2018-04-22 21:33:14 -07:00
..
casper_lib hotkeys: Replace C with x for composing PM. 2018-04-01 16:13:05 -07:00
casper_tests custom fields: Clean custom fields to use existing defined function. 2018-04-12 09:40:09 -07:00
node_tests narrow: Fix incorrect values for use_first_unread_anchor. 2018-04-22 21:33:14 -07:00
zjsunit tests: Move zerver/fixtures to zerver/tests/fixtures for clarity. 2018-04-19 21:50:17 -07:00
.eslintrc.json eslint: Update eslint config to have es6 env. 2018-04-20 15:46:28 -04:00
run-casper casper tests: Show the server output inline. 2018-01-16 13:25:19 -05:00