zulip/frontend_tests/node_tests
Steve Howell 7642ed66cf Expand get_unread_ids() to all local narrows.
This commit makes it so that any query for
which we do a local filter leads to us
examining the full list of unread message
ids in our cache to find a potentially
unread message that passes the filter.  This
can often allow us to more immediately
jump to a new narrow with an appropriately
selected message.

Fixes #9319
2018-05-31 08:44:18 -07:00
..
.eslintrc.json lint: Add JS indentation eslint rules for node_tests. 2018-05-06 19:35:18 -07:00
activity.js node tests: Remove dead code in activity.js. 2018-05-17 08:33:51 -07:00
alert_words.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
bot_data.js node tests: Avoid sneaky throttle/debounce delays. 2018-04-26 08:42:47 -07:00
buddy_data.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
buddy_list.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
channel.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
colorspace.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
common.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
components.js node tests: Remove dead code in components.js. 2018-05-17 08:33:51 -07:00
compose.js reminders: Refactor relevant code to live in a separate reminder.js. 2018-05-21 09:03:31 -07:00
compose_actions.js compose: Add tests for compose_actions.on_narrow. 2018-05-28 10:45:42 -07:00
compose_fade.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
compose_pm_pill.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
compose_ui.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
composebox_typeahead.js emoji: Don't start typeahead for colon-space. 2018-05-15 11:18:08 -07:00
copy_and_paste.js jsdom: Upgrade jsdom to v11.10.0. 2018-05-20 11:11:03 -07:00
dict.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
dispatch.js server_events_dispatch: Add node coverage for user groups. 2018-04-19 14:59:08 -04:00
drafts.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
emoji.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
emoji_picker.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
fetch_status.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
filter.js search: Display invalid operand suggestion for `is` operator. 2018-05-22 18:27:50 +05:30
general.js node tests: Remove dead code in general.js. 2018-05-17 08:33:51 -07:00
hash_util.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
hashchange.js hashchange: Handle trailing slashes in narrowing URLs. 2018-05-15 09:34:50 -07:00
hotkey.js hotkey: Move ctrl+[ back from cmd+[. 2018-05-24 08:31:55 -07:00
i18n.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
input_pill.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
list_render.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
markdown.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
message_edit.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
message_fetch.js refactor: Avoid positional params for MessageList. 2018-05-15 14:25:21 -07:00
message_list.js Add message_list.is_at_end() helper. 2018-05-28 16:49:57 -07:00
message_list_data.js test: Cover majority of functions in MLD. 2018-05-25 23:52:52 -07:00
message_list_view.js refactor: Avoid positional params for MessageList. 2018-05-15 14:25:21 -07:00
message_store.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
muting.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
narrow.js narrow: Show non-existing user message for invalid emails. 2018-05-28 10:45:42 -07:00
narrow_activate.js Defer creating messages lists in narrows. 2018-05-15 14:25:21 -07:00
narrow_state.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
narrow_unread.js Expand get_unread_ids() to all local narrows. 2018-05-31 08:44:18 -07:00
notifications.js node tests: Remove dead code in notifications.js. 2018-05-17 08:33:51 -07:00
password.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
people.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
people_errors.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
pm_conversations.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
pm_list.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
popovers.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
presence.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
reactions.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
recent_senders.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
rtl.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
schema.js Add a schema checking concept to the web app. 2018-05-24 09:30:22 -07:00
scroll_util.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
search_suggestion.js search: Respect spaces in person name in new suggestions only. 2018-05-25 09:03:27 -07:00
server_events.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
settings_bots.js settings_bots: Move bot_creation_policy_values to top-level. 2018-05-30 23:25:02 +05:30
settings_muting.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
settings_org.js org settings: Use do_settings_change for auth method checkboxes. 2018-05-22 14:03:20 -07:00
settings_user_groups.js user groups: Sanitize pill_container selector to avoid escaped strings. 2018-05-25 12:02:34 -07:00
stream_color.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_data.js streams: Rename change_change_subscription_type to reference permissions. 2018-05-21 16:14:18 -07:00
stream_events.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_list.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
stream_search.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_sort.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
submessage.js submessages: Add update_message() function. 2018-05-30 14:47:36 -07:00
subs.js tests: Rewrite tests for subs.js using zjquery. 2018-05-16 13:19:28 -04:00
templates.js streams: Add create and edit ui for is_announcement_only. 2018-05-30 14:22:15 -07:00
timerender.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
top_left_corner.js pm_list: Do not expand pm_list for invalid emails in `pm-with`. 2018-05-28 11:29:54 -07:00
topic_data.js Fix regression with stream_has_topics(). 2018-05-21 12:58:04 -07:00
topic_generator.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
topic_list.js Use unread data in topic_data.get_recent_names(). 2018-05-15 14:25:21 -07:00
transmit.js transmit.js: Add reply_message(). 2018-05-24 09:30:22 -07:00
typeahead_helper.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
typing_data.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
typing_status.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
unread.js node tests: Remove dead code in unread.js. 2018-05-17 08:33:51 -07:00
upload.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
user_events.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
user_groups.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
user_pill.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
util.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
zblueslip.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
zjquery.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00