zulip/frontend_tests/node_tests
Steve Howell d81419c79d Fix regression with stream_has_topics().
Our logic for stream_has_topics never accounted for
us creating essentially "empty" stream buckets that
don't have topics, but we recently added some code
related to unread counts that violated the original
assumptions of the code.

Now we check deeper into the stream bucket to find
actual topics.

This bug manifested in the left sidebar where users
were seeing streams as recently active just because
some muted topics had unread counts, when in fact
the stream was inactive for practical purposes.
2018-05-21 12:58:04 -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 Add run_test helper for individual tests. 2018-05-15 08:24:44 -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 `has` operator. 2018-05-18 14:18:26 -07:00
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 Add run_test helper for individual tests. 2018-05-15 08:24:44 -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 refactor: Avoid positional params for MessageList. 2018-05-15 14:25:21 -07:00
message_list_data.js refactor: Cleanly divide data/view for add_messages. 2018-05-15 14:25:21 -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 Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
narrow_activate.js Defer creating messages lists in narrows. 2018-05-15 14:25:21 -07:00
narrow_state.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
narrow_unread.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -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 Add people.safe_full_names. 2018-05-16 09:30:49 -07: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 Add run_test helper for individual tests. 2018-05-15 08:24:44 -07: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
scroll_util.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
search_suggestion.js search: Show category-wise operator suggestions for has operator. 2018-05-18 14:18:26 -07:00
server_events.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
settings_bots.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
settings_muting.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
settings_org.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
settings_user_groups.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_color.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_data.js compose: Display error for non-admin trying to post to announce_only stream. 2018-05-16 13:35:45 -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 Add client code for handling submessages. 2018-05-16 15:13:33 -07:00
subs.js tests: Rewrite tests for subs.js using zjquery. 2018-05-16 13:19:28 -04:00
templates.js edit bot: Fix UI element shows incorrect interface for outgoing webhook. 2018-05-21 10:07:18 -07:00
timerender.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
top_left_corner.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -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 Add run_test helper for individual tests. 2018-05-15 08:24:44 -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