zulip/web/tests
N-Shar-ma cb58752909 widgets: Cache event handler instead of entire jquery for each widget.
In 61b3c698af we stopped restoring widgets
from the cache, so the only purpose of the cache remaining was to access
the event handler patched onto the widget jquery.

Now instead of the entire jquery object, we cache just the event handler
since that's the only thing we need from the cache, and do not patch it
onto the widget jquery object.
2024-05-08 16:47:07 -07:00
..
lib stream_settings: Add new "Stream details" section in General tab. 2024-04-20 19:03:43 -07:00
templates popovers: Add hotkey hints support via a new handlebar template. 2024-04-11 15:57:24 -07:00
activity.test.js web: Convert .data("search-results-empty") to .attr. 2024-05-03 12:45:46 -07:00
alert_words_ui.test.js node tests: Use noop helper function pattern in test files. 2023-12-14 14:51:33 -08:00
alert_words.test.js alert_words: Highlight overlapping alert words more accurately. 2024-03-19 11:20:16 -07:00
blueslip_stacktrace.test.js
bot_data.test.js models: Extract zerver.models.users. 2023-12-16 22:08:44 -08: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 compose fade users: Remove fade logic in favor of buddy list split. 2024-02-22 16:05:27 -08:00
buddy_list.test.js eslint: Fix no-jquery/no-append-html errors that need test changes. 2024-04-04 10:11:57 -07:00
channel.test.js channel: Use base_page_params. 2024-02-27 21:18:00 -05:00
color_data.test.js
common.test.js common: Remove copy_data_attribute_value. 2024-05-03 12:45:46 -07:00
components.test.js components: Convert .data("tab-id") to .attr. 2024-05-03 12:45:46 -07:00
compose_actions.test.js drafts: Convert .data("draft-id") to a module variable. 2024-05-07 12:57:14 -07:00
compose_closed_ui.test.js message_list: Only update selected id and banner for current list. 2024-05-03 12:42:22 -07:00
compose_fade.test.js compose fade users: Remove fade logic in favor of buddy list split. 2024-02-22 16:05:27 -08: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 stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -07:00
compose_ui.test.js compose_ui: Add message_type to ComposeTriggeredOptions. 2024-04-02 17:26:12 -07:00
compose_validate.test.js web: Convert .data("user-id") to .attr. 2024-05-03 12:45:46 -07:00
compose_video.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
compose.test.js compose_banner: Replace the close button with "Got it" button. 2024-05-02 12:48:22 -07:00
composebox_typeahead.test.js bootstrap_typeahead: Fix compose typeahead overflowing when expanded. 2024-05-08 10:05:27 -07:00
copy_and_paste.test.js turndown: Enable turndown in production. 2024-03-28 13:07:34 -07:00
deprecated_feature_notice.test.js
dispatch_subs.test.js tests: Replace unneeded override_rewire uses by whole-module mocks. 2024-03-15 17:29:47 -04:00
dispatch.test.js settings: Hyphenate dense-mode classes. 2024-04-25 16:58:39 -07:00
drafts.test.js draft: Only auto-restore drafts edited since adding the feature. 2024-04-20 13:27:25 -07:00
echo.test.js message_list: Don't always cache "Combined feed" view. 2024-04-25 09:20:43 -07:00
emoji_picker.test.js emoji: Fallback to Google Modern for unsupported new Twitter emoji. 2023-11-28 23:46:49 -08:00
emoji.test.js ts: Convert emoji.js to TypeScript. 2023-04-05 10:29:01 -07:00
example1.test.js docs: Add missing spaces around code spans. 2023-12-14 00:05:44 -08:00
example2.test.js
example3.test.js narrow_state: Use message_lists.current to return current filter. 2024-02-24 08:31:18 -08:00
example4.test.js node tests: Use noop helper function pattern in test files. 2023-12-14 14:51:33 -08:00
example5.test.js message_list: Don't always cache "Combined feed" view. 2024-04-25 09:20:43 -07:00
example6.test.js node tests: Use noop helper function pattern in test files. 2023-12-14 14:51:33 -08:00
example7.test.js message_list: Don't always cache "Combined feed" view. 2024-04-25 09:20:43 -07:00
example8.test.js narrow_state: Use message_lists.current to return current filter. 2024-02-24 08:31:18 -08: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 web-search-suggestions: Update to use channel and channels. 2024-04-24 17:03:36 -07:00
fold_dict.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
gear_menu_util.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
hash_util.test.js hash-util: Rename stream_edit_url to channels_settings_edit_url. 2024-04-30 14:44:12 -07:00
hashchange.test.js streams-settings-overlay: Update hash for stream to channel rename. 2024-04-30 14:44:12 -07:00
hotkey.test.js hashchange: Change #all-messages to #feed. 2024-04-26 14:28:13 -07:00
i18n.test.js web-stream-settings: Update strings for stream rename channel. 2024-04-24 14:35:04 -07:00
input_pill.test.js input_pill: Fix implicit use of any. 2024-05-03 15:39:55 -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 filter: Remove incorrect check for All messages view. 2024-01-15 12:26:24 -08:00
linkifiers.test.js Revert "linkifiers: Match JS implementation to server implementation." 2023-11-16 14:59:48 -08:00
list_cursor.test.js node tests: Use noop helper function pattern in test files. 2023-12-14 14:51:33 -08:00
list_widget.test.js list_widget: Convert .data("sort"), .data("sort-prop") to .attr. 2024-05-03 12:45:46 -07:00
markdown_parse.test.js markdown: Remove wrapper around get_topic_links. 2024-02-01 12:12:06 -08:00
markdown.test.js mentions: Add "channel" as a wildcard mention. 2024-04-04 11:16:07 -07:00
message_edit.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
message_events.test.js message_list: Don't always cache "Combined feed" view. 2024-04-25 09:20:43 -07:00
message_flags.test.js web-narrow: Update operators to use channel and channels. 2024-04-24 17:03:36 -07:00
message_list_data.test.js user_topics: Always store stream name in UserTopic. 2024-03-30 16:25:34 -07:00
message_list_view.test.js eslint: Fix no-jquery/no-append-html errors that need test changes. 2024-04-04 10:11:57 -07:00
message_list.test.js message_list: Only update selected id and banner for current list. 2024-05-03 12:42:22 -07:00
message_store.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
muted_users.test.js i18n: Localize date and time displays across the app. 2023-02-26 17:43:47 -08:00
narrow_activate.test.js message_lists: Remove save_pre_narrow_offset_for_reload. 2024-05-03 12:42:22 -07:00
narrow_local.test.js filter: Make excludes_muted_topics a method of the Filter class. 2024-02-24 08:31:18 -08:00
narrow_state.test.js web-search-suggestions: Update to use channel and channels. 2024-04-24 17:03:36 -07:00
narrow_unread.test.js narrow_state: Use message_lists.current to return current filter. 2024-02-24 08:31:18 -08:00
narrow.test.js web-narrow: Update operators to use channel and channels. 2024-04-24 17:03:36 -07:00
navbar_alerts.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
notifications.test.js ui_util: Fix HTML injection bug in replace_emoji_with_text. 2024-04-03 13:11:47 -07:00
password.test.js password_quality: Convert .data("minLength") et al. to .attr. 2024-05-03 12:45:46 -07:00
peer_data.test.js page_params: Split out state data for current user. 2024-02-15 10:22:52 -08:00
people_errors.test.js people: Remove string type for user_id. 2024-01-19 17:54:07 -08:00
people.test.js all-wildcards: Update for "channel" wildcard as preferred to "stream". 2024-04-24 17:04:33 -07:00
pill_typeahead.test.js bootstrap_typeahead: Remove fixed argument. 2024-05-08 10:05:27 -07:00
pm_conversations.test.js node-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
pm_list_data.test.js pm_list: Show DM row for empty conversations in left sidebar. 2024-04-17 17:51:12 -07:00
pm_list.test.js pm_list: Remove not needed narrow_state mock. 2024-01-18 08:31:48 -08:00
poll_widget.test.js widgets: Cache event handler instead of entire jquery for each widget. 2024-05-08 16:47:07 -07:00
popover_menus_data.test.js actions_popover: Rename "View message source". 2024-04-11 15:57:24 -07:00
presence.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
reactions.test.js reactions: Deduplicate shared code. 2024-03-05 14:54:45 -08:00
realm_playground.test.js pygments_data: Move data to typescript. 2024-01-24 17:06:03 -08:00
recent_senders.test.js message_util: Convert module to typescript. 2024-01-05 10:47:12 -08:00
recent_view.test.js typeahead: Add option for word order not mattering for query matching. 2024-03-22 15:20:40 -07:00
reload_state.test.js
reload.test.js node tests: Use noop helper function pattern in test files. 2023-12-14 14:51:33 -08:00
rendered_markdown.test.js rendered_markdown: Fix code getting copied when visiting playground. 2024-05-06 15:50:39 -07:00
resolved_topic.test.js
rtl.test.js
scheduled_messages.test.js compose_send_menu_popover: Rename module to reflect broader uses. 2024-04-20 13:27:25 -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_suggestion.test.js web-search-suggestions: Update to use channel and channels. 2024-04-24 17:03:36 -07:00
search.test.js bootstrap_typeahead: Remove create and lookup API. 2024-05-06 15:02:45 -07:00
server_events.test.js message_list: Don't always cache "Combined feed" view. 2024-04-25 09:20:43 -07:00
settings_bots.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
settings_config.test.js web-stream-settings: Update strings for stream rename channel. 2024-04-24 14:35:04 -07:00
settings_data.test.js page_params: Split out state data for realm. 2024-02-15 10:22:52 -08:00
settings_emoji.test.js
settings_muted_users.test.js node tests: Use noop helper function pattern in test files. 2023-12-14 14:51:33 -08:00
settings_org.test.js settings: Do not scroll to save button when typing in textarea / input. 2024-04-10 11:18:17 -07:00
settings_profile_fields.test.js eslint: Fix no-jquery/no-append-html errors that need test changes. 2024-04-04 10:11:57 -07:00
settings_realm_domains.test.js settings_realm_domains: Fix implicit use of any. 2024-05-03 15:39:55 -07:00
settings_user_topics.test.js settings_user_topics: Fix implicit use of any. 2024-05-03 15:39:55 -07:00
spoilers.test.js rendered_markdown: Convert module to typescript. 2024-01-19 17:54:07 -08:00
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 page_params: Split out state data for current user. 2024-02-15 10:22:52 -08:00
stream_data.test.js stream_settings: Add new "Stream details" section in General tab. 2024-04-20 19:03:43 -07:00
stream_edit.test.js
stream_events.test.js streams-settings: Update ID of overlay container element. 2024-04-30 14:44:12 -07:00
stream_list_sort.test.js left_sidebar: Add colon : to the list of stream word separators. 2024-05-03 09:20:53 -07:00
stream_list.test.js eslint: Fix no-jquery/no-append-html errors that need test changes. 2024-04-04 10:11:57 -07:00
stream_pill.test.js
stream_search.test.js stream_list: Convert module to typescript. 2024-02-23 16:18:48 -08:00
stream_settings_ui.test.js streams-settings: Update ID of overlay container element. 2024-04-30 14:44:12 -07:00
stream_topic_history.test.js node tests: Use noop helper function pattern in test files. 2023-12-14 14:51:33 -08:00
submessage.test.js submessage: Replace bogus test data with valid objects. 2024-03-28 12:59:12 -07:00
support.test.js support: Fix implicit use of any. 2024-05-03 15:39:55 -07:00
templates.test.js hotkeys: Show Level 2 Shift key symbol for Shift key in popovers. 2024-04-11 15:57:24 -07:00
time_zone_util.test.js time_zone_util: Avoid relying on timeZoneName: "longOffset". 2023-11-29 09:57:10 -08:00
timerender.test.js message_row: Assign inner .date_row span a class. 2024-04-30 12:42:41 -07:00
topic_generator.test.js topic_generator: Convert module to typescript. 2024-01-28 14:20:45 -08:00
topic_list_data.test.js topic_list: Show topic row for empty conversations in left sidebar. 2024-04-17 17:51:12 -07:00
transmit.test.js message_list: Don't always cache "Combined feed" view. 2024-04-25 09:20:43 -07:00
typeahead_helper.test.js pill_typeahead: Differentiate between pills with type attribute. 2024-04-17 10:45:14 -07:00
typeahead.test.js typeahead: Add option for word order not mattering for query matching. 2024-03-22 15:20:40 -07:00
typing_data.test.js settings: Add option to disable seeing typing notifications. 2024-04-16 11:38:12 -07:00
typing_events.test.js narrow_state: Use message_lists.current to return current filter. 2024-02-24 08:31:18 -08:00
typing_status.test.js typing_status: Use TypeScript unions for 'Recipient' type. 2024-02-07 09:12:49 -08:00
ui_util.test.js notifications: Collapse blockquotes and "user said" paragraphs. 2024-01-30 17:22:20 -08:00
unread.test.js user_topics: Always store stream name in UserTopic. 2024-03-30 16:25:34 -07:00
upload.test.js tests: Fix direct mutation of ES modules again, again. 2024-02-19 21:20:35 -05:00
user_events.test.js custom_profile_fields: Add "required" parameter to the profile fields. 2024-03-21 10:48:54 -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 group-settings: Handle invalid urls correctly. 2024-02-22 13:09:33 -08:00
user_pill.test.js pill_typeahead: Differentiate between pills with type attribute. 2024-04-17 10:45:14 -07:00
user_search.test.js web: Convert .data("search-results-empty") to .attr. 2024-05-03 12:45:46 -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: Always store stream name in UserTopic. 2024-03-30 16:25:34 -07:00
util.test.js mentions: Add "channel" as a wildcard mention. 2024-04-04 11:16:07 -07:00
vdom.test.js eslint: Fix no-jquery/no-append-html errors that need test changes. 2024-04-04 10:11:57 -07:00
watchdog.test.js watchdog: Handle exception in callback. 2023-11-19 15:04:58 -08:00
widgetize.test.js widgets: Cache event handler instead of entire jquery for each widget. 2024-05-08 16:47:07 -07:00
zblueslip.test.js
zjquery.test.js