zulip/web/tests
Rahul 4dfb04d501 compose_ui: Use Intl.ListFormat rather than .join(", ").
This commit changes .join(",") to Int1.ListFormat.
This produces more accurate translations.

Refactor compose_ui.test to update the testcase for Alice and Bob.
The previous test case output of "Alice,Bob"  modify to "Alice and Bob"
to align with the behavior of Int1.ListFormat,
which joins lists using ',' & 'and'.
2023-11-07 13:18:57 -08:00
..
lib users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -07:00
templates
activity.test.js buddy list: Rename user_presences to buddy-list-users-matching-view. 2023-10-31 16:06:07 -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 sponsorship: Remove from billing and upgrade pages. 2023-11-06 14:55:14 -08: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 users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -07:00
browser_history.test.js settings: Rename default_view and escape_navigates_to_default_view. 2023-10-26 11:00:12 -07:00
buddy_data.test.js ts: Migrate `user_status` module to TypeScript. 2023-10-30 11:10:47 -07:00
buddy_list.test.js buddy list: Rename user_presences to buddy-list-users-matching-view. 2023-10-31 16:06:07 -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 portico: Inline common.autofocus. 2023-10-26 16:27:35 -07:00
components.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
compose.test.js compose_state: Make get_or_set accept a full selector. 2023-11-02 14:06:04 -07:00
compose_actions.test.js compose_state: Make get_or_set accept a full selector. 2023-11-02 14:06:04 -07:00
compose_closed_ui.test.js compose: Remove the unused span wrapper for buttons. 2023-10-10 17:37:03 -07:00
compose_fade.test.js compose_state: Make get_or_set accept a full selector. 2023-11-02 14:06:04 -07:00
compose_pm_pill.test.js users: Add "(guest)" to names for guest users. 2023-10-12 12:06:10 -07:00
compose_state.test.js compose_recipient: Move selected_recipient_id to compose_state. 2023-10-05 08:21:33 -07:00
compose_ui.test.js compose_ui: Use Intl.ListFormat rather than .join(", "). 2023-11-07 13:18:57 -08:00
compose_validate.test.js compose_state: Make get_or_set accept a full selector. 2023-11-02 14:06:04 -07:00
compose_video.test.js compose_state: Make get_or_set accept a full selector. 2023-11-02 14:06:04 -07:00
composebox_typeahead.test.js compose_state: Make get_or_set accept a full selector. 2023-11-02 14:06:04 -07:00
copy_and_paste.test.js compose: Always retain `ol` tag when pasting content enclosed by it. 2023-11-07 11:39:06 -08:00
deprecated_feature_notice.test.js
dispatch.test.js users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -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 compose_state: Convert module to TypeScript. 2023-11-02 14:06:04 -07:00
echo.test.js notifications: Split out compose_notifications module. 2023-10-06 16:22:40 -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 activity: Extract new activity_ui module. 2023-10-05 08:27:30 -07:00
example5.test.js notifications: Split out message_notifications module. 2023-10-06 16:22:40 -07:00
example6.test.js
example7.test.js notifications: Rename to desktop_notifications. 2023-10-06 16:22:40 -07:00
example8.test.js refactor: Extract 'get_key' out of functions in 'typing_data.ts'. 2023-10-10 17:36:55 -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 narrow: Add "(guest)" to user names in narrow title. 2023-10-12 12:06:10 -07:00
fold_dict.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
gear_menu_util.test.js gear_menu: Extract version_display_string into a util library. 2023-10-18 22:02:38 -07:00
hash_util.test.js hash_util: Extract hash_parser.ts. 2023-10-01 16:55:21 -07:00
hashchange.test.js settings: Rename default_view and escape_navigates_to_default_view. 2023-10-26 11:00:12 -07:00
hotkey.test.js hotkey: Add 'narrow to next unread followed topic' hotkey. 2023-11-01 17:37:41 -07:00
i18n.test.js handlebars: Move popover handlebars to a new popovers folder. 2023-10-05 08:19:49 -07:00
input_pill.test.js input_pill: Remove over defensive if checks for `create` function. 2023-10-27 13:11:37 -07:00
internal_url.test.js
keydown_util.test.js
lazy_set.test.js lazy set: Increase code coverage. 2023-10-31 16:06:07 -07:00
left_sidebar_navigation_area.test.js left_sidebar: Add logic and styles to show unreads on selected home view. 2023-11-03 10:08:37 -07:00
lightbox.test.js lightbox: Replace image with media. 2023-10-02 22:39:02 -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: Add missing CSS escaping and remove unchecked cast. 2023-10-25 13:08:36 -07:00
markdown.test.js mention: Send notifications for @topic wildcard mentions. 2023-07-17 09:39:24 -07:00
markdown_parse.test.js codespell: Fix typos caught by codespell. 2023-10-09 11:55:15 -07:00
message_edit.test.js messages: Add support to allow bot-owners to delete messages. 2023-10-12 12:13:39 -07:00
message_events.test.js notifications: Split out message_notifications module. 2023-10-06 16:22:40 -07:00
message_fetch.test.js recent view: Add button to fetch more conversations. 2023-10-13 16:14:55 -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 users: Add "(guest)" to names for guest users. 2023-10-12 12:06:10 -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 empty_feed_notice: Style empty message feed similar to other views. 2023-10-20 12:29:45 -07:00
narrow_activate.test.js compose: Make stronger, more readable button-update logic. 2023-10-10 17:37:03 -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 narrow_state: Add stream_id() function. 2023-10-10 17:36:55 -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 notifications: Rename to desktop_notifications. 2023-10-06 16:22:40 -07:00
notifications.test.js notifications: Rename to desktop_notifications. 2023-10-06 16:22:40 -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 compose: Show pronouns in compose typeaheads. 2023-10-20 12:30:21 -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 left_sidebar: Use DM identifiers on DM containers. 2023-10-30 10:14:28 -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
popover_menus_data.test.js compose: Migrate `empty_topic_placeholder` to `compose_state`. 2023-10-02 17:45:27 -07:00
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 recent view: Rename topic to conversation. 2023-10-31 10:28:55 -07:00
reload.test.js
reload_state.test.js
rendered_markdown.test.js rendered_markdown: Add "(guest)" to user name in mention pill. 2023-10-12 12:06:10 -07:00
resolved_topic.test.js
rtl.test.js
scheduled_messages.test.js scheduled_messages: Move update_send_later_options. 2023-10-03 17:56:43 -07:00
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 users: Add "(guest)" to names for guest users. 2023-10-12 12:06:10 -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: Fix unsafe unchecked casts in generic comparators. 2023-10-26 09:54:30 -07:00
settings_org.test.js settings_org: Extract settings_components module. 2023-10-09 17:26:49 -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 users: Add "(guest)" to names for guest users. 2023-10-12 12:06:10 -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 user_profile: Show streams to subscribe for user's own profile. 2023-10-18 15:28:46 -07:00
stream_edit.test.js
stream_events.test.js stream_settings_ui: Move set_color to stream_settings_api. 2023-10-05 15:32:04 -07:00
stream_list.test.js stream_list: Rename handle_narrow_deactivated. 2023-10-05 10:31:23 -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 search: Always close search on Escape. 2023-11-06 15:10:23 -08:00
stream_settings_ui.test.js hash_util: Extract hash_parser.ts. 2023-10-01 16:55:21 -07:00
stream_topic_history.test.js server_history: Prevent concurrent requests for the same stream_id. 2023-10-09 11:17:03 -07:00
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 recent view: Add button to fetch more conversations. 2023-10-13 16:14:55 -07:00
topic_generator.test.js hotkey: Add 'narrow to next unread followed topic' hotkey. 2023-11-01 17:37:41 -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 sent_messages: Lift event loop restarting to transmit. 2023-10-06 13:17:51 -07:00
typeahead.test.js
typeahead_helper.test.js compose: Show pronouns in compose typeaheads. 2023-10-20 12:30:21 -07:00
typing_data.test.js muted_users: Hide muted typists in streams. 2023-10-10 17:36:55 -07:00
typing_events.test.js refactor: Extract 'get_key' out of functions in 'typing_data.ts'. 2023-10-10 17:36:55 -07:00
typing_status.test.js typing_notifications: Send ajax requests for stream typing too. 2023-10-10 17:36:55 -07:00
unread.test.js unread: Fix logic for wildcard mentions in direct messages. 2023-09-28 09:35:30 -07:00
upgrade.test.js sponsorship: Remove from billing and upgrade pages. 2023-11-06 14:55:14 -08:00
upload.test.js tests: Add missing $ prefix to jQuery object parameter. 2023-11-02 14:06:04 -07:00
user_events.test.js users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -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 settings: Use server_supported_permission_settings in webapp. 2023-11-01 10:42:56 -07:00
user_pill.test.js users: Add "(guest)" to names for guest users. 2023-10-12 12:06:10 -07:00
user_search.test.js right_sidebar: Add functionality to render empty user list message. 2023-10-11 18:03:53 -07:00
user_status.test.js ts: Migrate `user_status` module to TypeScript. 2023-10-30 11:10:47 -07:00
user_topics.test.js user_topics: Pop `user_topics` from `page_params`. 2023-09-11 10:57:38 -07:00
util.test.js util: Fix the 'find_wildcard_mentions' function. 2023-10-06 11:38:37 -07:00
vdom.test.js left_sidebar: Use dm-list class. 2023-10-30 10:14:28 -07:00
watchdog.test.js
widgetize.test.js widgetize: Move widget registration to new widgets module. 2023-10-06 13:17:51 -07:00
zblueslip.test.js
zjquery.test.js