zulip/web/tests
Lalit 59e78f96ba
ts: Migrate people.js to TypeScript.
We use `get_by_user_id` instead of directly accessing the global dict, because
when accessing person objects directly from one of the global dicts we
need callers to check for undefined values, this can be fixed by using
`get_by_user_id` method to get person objects because that functions
makes sure to assert that we indeed have a valid user id, so it will
never return undefined values.

Co-authored-by: Zixuan James Li <p359101898@gmail.com>
2023-07-11 22:22:30 -07:00
..
lib eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
templates
activity.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
alert_words.test.js
alert_words_ui.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -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 page_params: Make seperate `page_params` for billing module. 2023-06-23 11:42:29 -07:00
blueslip_stacktrace.test.js
bot_data.test.js
browser_history.test.js hashchange: Never set empty hash `#` in URL. 2023-05-26 16:28:45 -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 sentry: Unify logic for skipping span reporting. 2023-05-12 13:53:57 -07:00
color_data.test.js
colorspace.test.js
common.test.js
components.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
compose.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
compose_actions.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
compose_closed_ui.test.js message_list: Extract visibly_empty helper method. 2023-05-03 18:40:59 -07:00
compose_fade.test.js compose: Use tippy for stream select dropdown. 2023-05-09 14:11:26 -07:00
compose_pm_pill.test.js compose_pm_pill: Fix `compose_recipient` being mocked but not used. 2023-07-03 21:48:58 -07:00
compose_state.test.js compose: Use tippy for stream select dropdown. 2023-05-09 14:11:26 -07:00
compose_ui.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
compose_validate.test.js people: Make `get_by_user_id` type-safe. 2023-07-02 16:57:16 -07:00
compose_video.test.js compose: Change video call url text to "Join video call.". 2023-04-20 15:04:26 -07:00
composebox_typeahead.test.js compose: Show wildcard mentions according to policy. 2023-07-06 16:29:37 -07:00
copy_and_paste.test.js
deprecated_feature_notice.test.js
dispatch.test.js theme: Change recipient bar color and theme in the same paint. 2023-07-03 21:47:45 -07:00
dispatch_subs.test.js ts: Migrate people.js to TypeScript. 2023-07-11 22:22:30 -07:00
drafts.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
dropdown_list_widget.test.js
echo.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
emoji.test.js ts: Convert `emoji.js` to TypeScript. 2023-04-05 10:29:01 -07:00
emoji_picker.test.js dependencies: Upgrade JavaScript dependencies. 2023-06-05 21:51:26 -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 node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -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 insert_new_message: Rewrite using all_rendered_message_lists. 2023-03-31 10:41:06 -07:00
example6.test.js
example7.test.js unread_ops: Centralize window focused logic. 2023-06-05 21:57:35 -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 filter: Rename describe to search_description_as_html. 2023-06-26 11:11:17 -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 narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
hashchange.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
hotkey.test.js send_later: Add keyboard navigation to message scheduling modal. 2023-05-15 14:52:06 -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
lightbox.test.js
linkifiers.test.js blueslip: Reduce cardinality of blueslip.error() calls. 2023-05-09 13:16:28 -07:00
list_cursor.test.js blueslip: Reduce cardinality of blueslip.error() calls. 2023-05-09 13:16:28 -07:00
list_widget.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
markdown.test.js linkifier: Support URL templates for linkifiers. 2023-04-19 12:20:49 -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 condense: Remove _message_content_height_cache. 2023-06-26 10:59:53 -07:00
message_fetch.test.js message_scroll: Extract module message_feed_top_notices. 2023-06-05 21:57:35 -07:00
message_flags.test.js starred_messages: Extract starred_messages_ui.js. 2023-06-05 21:57:35 -07:00
message_list.test.js message_list_data: Remove dependency on `filter.js`. 2023-05-14 11:24:31 -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
message_store.test.js people: Make `get_by_user_id` type-safe. 2023-07-02 16:57:16 -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 ts: Migrate people.js to TypeScript. 2023-07-11 22:22:30 -07:00
narrow_activate.test.js search: Stop disabling and enabling the search close button. 2023-06-30 12:05:30 -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: Fix opening compose box when viewing invalid stream. 2023-05-16 10:39:33 -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 unread_ops: Centralize window focused logic. 2023-06-05 21:57:35 -07:00
notifications.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
password.test.js
peer_data.test.js people: Make `get_by_user_id` type-safe. 2023-07-02 16:57:16 -07:00
people.test.js ts: Migrate people.js to TypeScript. 2023-07-11 22:22:30 -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
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
popovers.test.js popovers: Fix giphy being mocked but not used. 2023-07-06 10:34:40 -07:00
presence.test.js people: Make `get_by_user_id` type-safe. 2023-07-02 16:57:16 -07:00
reactions.test.js blueslip: Reduce cardinality of blueslip.error() calls. 2023-05-09 13:16:28 -07:00
realm_playground.test.js typeahead: Suggest existing custom language in Code Playground settings. 2023-03-01 17:02:44 -08:00
recent_senders.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
recent_topics.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
reload.test.js
reload_state.test.js
rendered_markdown.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -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: Stop disabling and enabling the search close button. 2023-06-30 12:05:30 -07:00
search_suggestion.test.js search: Adjust text in has: message suggestions. 2023-06-29 13:02:06 -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 web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -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_emoji.test.js
settings_muted_users.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
settings_org.test.js blueslip: Reduce cardinality of blueslip.error() calls. 2023-05-09 13:16:28 -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 eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
settings_user_topics.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
spoilers.test.js
starred_messages.test.js starred_messages: Use standard initialization patterns. 2023-06-08 09:42:56 -07:00
stream_create_subscribers_data.test.js
stream_data.test.js stream_data: Extract function to get stream options for dropdown. 2023-07-11 13:37:50 -07:00
stream_edit.test.js
stream_events.test.js compose: Use tippy for stream select dropdown. 2023-05-09 14:11:26 -07:00
stream_list.test.js stream_list: Break dependency on narrow.js. 2023-06-05 21:57:35 -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 refactor: Move simplebar helper functions from `ui` to `scroll_util`. 2023-04-26 12:59:08 -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: Extract new variant of get_full_datetime. 2023-04-30 22:39:52 -07:00
top_left_corner.test.js top_left_corner: Fix new mention animation when loading app. 2023-05-03 11:12:52 -07:00
topic_generator.test.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
topic_list_data.test.js topic_list: Show muted unread counts in muted streams. 2023-05-01 21:13:53 -07:00
transmit.test.js blueslip: Reduce cardinality of blueslip.error() calls. 2023-05-09 13:16:28 -07:00
typeahead.test.js
typeahead_helper.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -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_status: Refactor `recipient` family of variables. 2023-06-23 10:52:53 -07:00
unread.test.js node_tests: Extend unread.test.js to catch private message mentions bug. 2023-05-05 16:27:03 -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 upload: Simplify the query for the "send_button". 2023-07-06 17:48:22 -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_groups.test.js user_groups: Remove "@" from name of role-based system groups. 2023-07-11 13:46:02 -07:00
user_pill.test.js
user_search.test.js
user_status.test.js
user_topics.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -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