zulip/web/tests
evykassirer dec49883d4 search: Close search box when searching for an empty string.
Previously clearing the search box and pressing enter would
redirect the user to All Messages. This commit changes the
behavior so that the search bar closes with no other effects.

More discussion on this on CZO here:
https://chat.zulip.org/#narrow/stream/101-design/topic/recent.20conversations.20for.20streams/near/1621501
2023-09-27 17:33:49 -07:00
..
lib tests: Delete user_card_popover test. 2023-09-25 06:29:47 -07:00
templates
activity.test.js right_sidebar_ui: Extract new module. 2023-09-25 06:29:47 -07:00
alert_words.test.js
alert_words_ui.test.js list_widget: Rename unsafe modifier parameter to modifier_html. 2023-09-15 18:11:50 -07:00
billing.test.js ts: Convert `web/src/billing` module to TypeScript. 2023-06-23 11:42:29 -07:00
billing_helpers.test.js web: Switch from JSON.parse(xhr.responseText) to xhr.responseJSON. 2023-07-19 16:18:31 -07:00
blueslip_stacktrace.test.js
bot_data.test.js bot_data: Eliminate owner field. 2023-08-17 11:53:34 -07:00
browser_history.test.js browser_history: Delay user_settings.default_view evaluation. 2023-09-11 18:04:55 -07:00
buddy_data.test.js people: Make `get_by_user_id` type-safe. 2023-07-02 16:57:16 -07:00
buddy_list.test.js blueslip: Reduce cardinality of blueslip.error() calls. 2023-05-09 13:16:28 -07:00
channel.test.js ui_report: Reuse `channel.xhr_error_message` function in `error` method. 2023-08-31 13:47:16 -07:00
color_data.test.js
common.test.js common: Fix parameter type of `autofocus` function. 2023-08-14 16:00:20 -07:00
components.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
compose.test.js compose: Disable unneeded control buttons in preview mode. 2023-09-13 15:09:16 -07:00
compose_actions.test.js compose: Allow the user to direct message bots despite of policy. 2023-09-21 16:24:15 -07:00
compose_closed_ui.test.js recent: Rename recent_topics_util. 2023-09-08 07:36:33 -07:00
compose_fade.test.js compose: Use stream id instead of stream name for composebox opts. 2023-08-07 17:08:59 -07:00
compose_pm_pill.test.js tests: Fix direct mutation of ES modules. 2023-08-04 18:00:38 -07:00
compose_state.test.js compose: Use stream id instead of stream name for composebox opts. 2023-08-07 17:08:59 -07:00
compose_ui.test.js messages: Use stream_id instead of stream name. 2023-08-21 15:10:17 -07:00
compose_validate.test.js compose: Use stream id instead of stream name for composebox opts. 2023-08-07 17:08:59 -07:00
compose_video.test.js org_settings: Add frontend support for `realm_jitsi_server_url`. 2023-09-21 17:39:10 -07:00
composebox_typeahead.test.js typeahead: Suggest only the first matching wildcard mention. 2023-09-15 13:22:35 -07:00
copy_and_paste.test.js copy_paste: Strip back tests to only test handler. 2023-08-09 15:35:14 -07:00
deprecated_feature_notice.test.js
dispatch.test.js user_settings: Add new user setting to show/hide unread counts on streams. 2023-09-13 18:45:45 -07:00
dispatch_subs.test.js stream_events: refactor the peer add/remove code path. 2023-08-22 11:56:42 -07:00
drafts.test.js drafts: Use stream_id instead of stream names. 2023-08-21 15:10:17 -07:00
echo.test.js messages: Use stream_id instead of stream name. 2023-08-21 15:10:17 -07:00
emoji.test.js ts: Convert `emoji.js` to TypeScript. 2023-04-05 10:29:01 -07:00
emoji_picker.test.js emoji_picker: Move module event registration to initialization. 2023-09-11 10:42:18 -07:00
event_status.test.js ts: Convert `web/src/billing` module to TypeScript. 2023-06-23 11:42:29 -07:00
example1.test.js docs: Change extensions from .js to .ts for some filenames. 2023-03-12 15:17:53 -07:00
example2.test.js
example3.test.js narrow_state: Rename stream() to stream_name() which is more accurate. 2023-08-07 17:08:59 -07:00
example4.test.js server_events_dispatch: Update bots list only if needed. 2023-03-02 13:26:20 -08:00
example5.test.js recent: Rename recent_topics_data. 2023-09-08 07:36:33 -07:00
example6.test.js
example7.test.js recent: Rename recent_topics_util. 2023-09-08 07:36:33 -07:00
example8.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
fenced_code.test.js
fetch_status.test.js refactor: Extract `message_feed_loading` module from `message_scroll`. 2023-05-14 11:24:31 -07:00
filter.test.js view_labels: Change 'Direct messages' to 'All direct messages'. 2023-09-27 12:48:06 -07:00
fold_dict.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
gear_menu.test.js
hash_util.test.js settings: Change "Display settings" to "Preferences". 2023-07-12 07:09:03 -07:00
hashchange.test.js recent: Rename recent_topics_ui. 2023-09-08 07:36:33 -07:00
hotkey.test.js user_card_popover: Migrate all user card popovers to Tippy. 2023-09-25 06:29:47 -07:00
i18n.test.js popovers: Shorten 'Quote or reply' label. 2023-05-16 12:36:29 -07:00
input_pill.test.js ts: Convert input_pill.js to TypeScript. 2023-04-25 09:09:48 -07:00
internal_url.test.js
keydown_util.test.js
lazy_set.test.js
left_sidebar_navigation_area.test.js inbox: Add new narrow. 2023-09-12 09:20:33 -07:00
lightbox.test.js css: Rename .focused_table to .focused-message-list. 2023-08-21 15:17:45 -07:00
linkifiers.test.js blueslip: Reduce cardinality of blueslip.error() calls. 2023-05-09 13:16:28 -07:00
list_cursor.test.js list_cursor: Convert module to TypeScript. 2023-09-22 09:31:24 -07:00
list_widget.test.js list_widget: Rename unsafe modifier parameter to modifier_html. 2023-09-15 18:11:50 -07:00
markdown.test.js mention: Send notifications for @topic wildcard mentions. 2023-07-17 09:39:24 -07:00
markdown_parse.test.js linkifier: Support URL templates for linkifiers. 2023-04-19 12:20:49 -07:00
message_edit.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
message_events.test.js messages: Use stream_id instead of stream name. 2023-08-21 15:10:17 -07:00
message_fetch.test.js recent: Rename recent_topics_ui. 2023-09-08 07:36:33 -07:00
message_flags.test.js js: Rename top_left_corner.js to left_sidebar_navigation_area.js. 2023-07-24 13:02:28 -07:00
message_list.test.js narrow_state: Rename stream() to stream_name() which is more accurate. 2023-08-07 17:08:59 -07:00
message_list_data.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
message_list_view.test.js messages: Use stream_id instead of stream name. 2023-08-21 15:10:17 -07:00
message_store.test.js messages: Use stream_id instead of stream name. 2023-08-21 15:10:17 -07:00
muted_users.test.js i18n: Localize date and time displays across the app. 2023-02-26 17:43:47 -08:00
narrow.test.js stream view: Show "start a conversation" for a topic with no messages. 2023-09-22 11:42:24 -07:00
narrow_activate.test.js recent: Rename recent_topics_util. 2023-09-08 07:36:33 -07:00
narrow_local.test.js message_list: Extract visibly_empty helper method. 2023-05-03 18:40:59 -07:00
narrow_state.test.js compose: Use stream id instead of stream name for composebox opts. 2023-08-07 17:08:59 -07:00
narrow_unread.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
navbar_alerts.test.js demo-organizations: Rename shortend versions of 'demo organization'. 2023-09-08 15:17:23 -07:00
notifications.test.js messages: Use stream_id instead of stream name. 2023-08-21 15:10:17 -07:00
password.test.js
peer_data.test.js peer_data: Remove over defensive `assert_number` function. 2023-07-17 10:37:29 -07:00
people.test.js people: Add direct coverage of unknown user case. 2023-09-25 06:29:47 -07:00
people_errors.test.js ts: Migrate people.js to TypeScript. 2023-07-11 22:22:30 -07:00
pill_typeahead.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
pm_conversations.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
pm_list.test.js refactor: Rename `private_message` to `direct_message`. 2023-09-15 12:37:09 -07:00
pm_list_data.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
poll_widget.test.js
presence.test.js tests: Fix direct mutation of ES modules. 2023-08-04 18:00:38 -07:00
reactions.test.js css: Rename .message_table to .message-list. 2023-08-21 15:17:45 -07:00
realm_playground.test.js realm_playgrounds: Replace url_prefix with url_template. 2023-07-24 17:40:59 -07:00
recent_senders.test.js recent view: Rename topics to conversations in code comments. 2023-09-07 10:35:06 -07:00
recent_view.test.js list_widget: Rename unsafe modifier parameter to modifier_html. 2023-09-15 18:11:50 -07:00
reload.test.js
reload_state.test.js
rendered_markdown.test.js copied_tooltip: Remove tippyjs import cycle by extracting it. 2023-09-24 15:16:27 -07:00
resolved_topic.test.js
rtl.test.js
scheduled_messages.test.js scheduled_messages: Fix broken node test. 2023-05-10 17:06:59 -07:00
schema.test.js
scroll_util.test.js refactor: Move simplebar helper functions from `ui` to `scroll_util`. 2023-04-26 12:59:08 -07:00
search.test.js search: Close search box when searching for an empty string. 2023-09-27 17:33:49 -07:00
search_suggestion.test.js narrow_state: Rename stream() to stream_name() which is more accurate. 2023-08-07 17:08:59 -07:00
server_events.test.js server-events: Remove unused home_view_loaded.zulip event trigger. 2023-06-27 18:04:04 -07:00
settings_bots.test.js ts: Migrate `bot_data.js` to TypeScript. 2023-08-14 16:06:15 -07:00
settings_config.test.js settings: Add a "Followed topics" row to Notification Triggers table. 2023-06-13 18:01:41 -07:00
settings_data.test.js settings_data: Rename type_id_to_string to bot_type_id_to_string. 2023-09-26 09:15:20 -07:00
settings_emoji.test.js
settings_muted_users.test.js list_widget: Explicitly pass generic sort functions to the list widget. 2023-07-17 11:31:51 -07:00
settings_org.test.js settings_org: Migrate dropdowns to new DropdownWidget. 2023-07-27 14:10:08 -07:00
settings_profile_fields.test.js
settings_realm_domains.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
settings_user_groups_legacy.test.js tests: Fix direct mutation of ES modules. 2023-08-04 18:00:38 -07:00
settings_user_topics.test.js settings: Add a saving-saved indicator to the 'SETTINGS/TOPICS' UI. 2023-08-06 13:55:21 -07:00
spoilers.test.js
starred_messages.test.js js: Rename top_left_corner.js to left_sidebar_navigation_area.js. 2023-07-24 13:02:28 -07:00
stream_create_subscribers_data.test.js
stream_data.test.js stream_data: Refactored function to return sub and can_sub streams. 2023-08-22 11:56:42 -07:00
stream_edit.test.js
stream_events.test.js tests: Fix direct mutation of ES modules again. 2023-09-20 22:08:20 -07:00
stream_list.test.js user_settings: Add new user setting to show/hide unread counts on streams. 2023-09-13 18:45:45 -07:00
stream_list_sort.test.js refactor: Rename `stream_sort.js` to `stream_list_sort.js`. 2023-04-25 10:05:59 -07:00
stream_pill.test.js
stream_search.test.js
stream_settings_ui.test.js streams: Rename `can_remove_subscribers_group_id` parameter. 2023-07-25 18:33:04 -07:00
stream_topic_history.test.js
submessage.test.js
support.test.js support: Fix scrubbing realms if string_id is a number. 2023-03-27 10:07:41 -07:00
templates.test.js
timerender.test.js timerender: Change relative_time_string_from_date signature. 2023-09-14 11:56:53 -07:00
topic_generator.test.js tests: Fix direct mutation of ES modules. 2023-08-04 18:00:38 -07:00
topic_list_data.test.js topic_list: Update the order of "Followed" topics in the muted stream. 2023-09-11 17:55:37 -07:00
transmit.test.js messages: Use stream_id instead of stream name. 2023-08-21 15:10:17 -07:00
typeahead.test.js
typeahead_helper.test.js typeahead: Improve tests for multi word match's highlighting. 2023-09-22 09:58:04 -07:00
typing_data.test.js util: Change parameter type of `sorted_ids` to `number[]`. 2023-03-03 12:04:42 -08:00
typing_events.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
typing_status.test.js typing: Add typing constants to the post register api response. 2023-08-23 16:36:44 -07:00
unread.test.js refactor: Rename `private_message` to `direct_message`. 2023-09-15 12:37:09 -07:00
upgrade.test.js page_params: Make seperate `page_params` for billing module. 2023-06-23 11:42:29 -07:00
upload.test.js tests: Fix direct mutation of ES modules again. 2023-09-20 22:08:20 -07:00
user_events.test.js people: Make `get_by_user_id` type-safe. 2023-07-02 16:57:16 -07:00
user_group_pill.test.js user_group_pill: Add test coverage for `append_user_group`. 2023-07-17 10:38:24 -07:00
user_groups.test.js stream_settings: Migrate to new DropdownWidget. 2023-07-27 14:10:08 -07:00
user_pill.test.js
user_search.test.js right_sidebar_ui: Extract new module. 2023-09-25 06:29:47 -07:00
user_status.test.js
user_topics.test.js user_topics: Pop `user_topics` from `page_params`. 2023-09-11 10:57:38 -07:00
util.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
vdom.test.js
watchdog.test.js
widgetize.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
zblueslip.test.js
zjquery.test.js