zulip/frontend_tests
Steve Howell e5885fa8e4 Add compose.needs_subscribe_warning.
This function replaces part of compose_fade.would_receive_message(),
which has a real janky interface of returning true, false, or
undefined.

We don't need to couple the semantics of compose fading to whether
we help subscribe a mentioned user.  They're mostly similar, but they
will probably diverge for things like bots, and the coupling makes
it difficult to do email -> user_id conversions.

One thing that changes here is that we get the stream name from
compose_state, instead of compose_fade.focused_recipient.  The
compose_fade code uses focused_recipient for kind of complicated
reasons that don't concern us here.
2018-04-26 08:42:47 -07:00
..
casper_lib hotkeys: Replace C with x for composing PM. 2018-04-01 16:13:05 -07:00
casper_tests casper: Attempt to fix nondeterministic failures in profile fields. 2018-04-26 08:33:56 -07:00
node_tests Add compose.needs_subscribe_warning. 2018-04-26 08:42:47 -07:00
zjsunit node tests: Avoid sneaky throttle/debounce delays. 2018-04-26 08:42:47 -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