zulip/web/tests
Karl Stolley cfbfc37927 scheduled_messages: Hide Scheduled messages on 0 count.
This commit introduces structures and logic to hide the Scheduled
messages item from the left sidebar if there are no messages
scheduled to be sent.

Test coverage has been added for counts and visibility, too.

Fixes: #25101
2023-05-02 15:26:33 -07:00
..
lib compose: Move cursor to end of topic input after stream selection. 2023-05-02 12:49:31 -07:00
templates
activity.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
alert_words.test.js
alert_words_ui.test.js
billing.test.js billing: Add sponsorship request form to the billing page. 2023-03-27 10:15:21 -07:00
billing_helpers.test.js
blueslip_stacktrace.test.js
bot_data.test.js
browser_history.test.js narrow: Add frontend support for `is:dm` narrow and `/is/dm` URL. 2023-04-25 09:07:08 -07:00
buddy_data.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
buddy_list.test.js
channel.test.js
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 compose: Move cursor to end of topic input after stream selection. 2023-05-02 12:49:31 -07:00
compose_actions.test.js compose: Move cursor to end of topic input after stream selection. 2023-05-02 12:49:31 -07:00
compose_closed_ui.test.js
compose_fade.test.js compose: Rename stream selection widget to "select_recipient". 2023-04-27 17:04:19 -07:00
compose_pm_pill.test.js compose: Move functions around to reduce circular imports. 2023-04-27 17:04:19 -07:00
compose_state.test.js compose: Move cursor to end of topic input after stream selection. 2023-05-02 12:49:31 -07:00
compose_ui.test.js compose: Move functions around to reduce circular imports. 2023-04-27 17:04:19 -07:00
compose_validate.test.js compose: Pass a container to which the banner should be applied. 2023-05-02 14:09:09 -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: Move cursor to end of topic input after stream selection. 2023-05-02 12:49:31 -07:00
copy_and_paste.test.js
deprecated_feature_notice.test.js
dispatch.test.js scheduled_messages: Add left sidebar count. 2023-05-02 15:26:33 -07:00
dispatch_subs.test.js compose: Extract a compose_recipient module. 2023-04-20 16:09:55 -07:00
drafts.test.js compose: Move cursor to end of topic input after stream selection. 2023-05-02 12:49:31 -07:00
dropdown_list_widget.test.js
echo.test.js ui: Move update_message_lists related functions to other related modules. 2023-04-26 12:59:08 -07:00
emoji.test.js ts: Convert `emoji.js` to TypeScript. 2023-04-05 10:29:01 -07:00
emoji_picker.test.js
event_status.test.js web: Save a 301 redirect from /billing to /billing/. 2023-03-24 14:51:01 -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
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 message_list: Move show_message_as_read to view layer. 2023-04-21 09:43:24 -07:00
example8.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
fenced_code.test.js
fetch_status.test.js
filter.test.js narrow: Remove frontend support for "group-pm-with" operator. 2023-04-25 09:07:08 -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 narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
hotkey.test.js hotkey: Repurpose `s` to toggle conversation view and remove `shift+s`. 2023-05-01 20:32:58 -07:00
i18n.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -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 linkifier: Support URL templates for linkifiers. 2023-04-19 12:20:49 -07:00
list_cursor.test.js
list_widget.test.js refactor: Move simplebar helper functions from `ui` to `scroll_util`. 2023-04-26 12:59:08 -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 message_edit: Apply topic edit restrictions to "(no topic)" messages. 2023-04-11 11:07:23 -07:00
message_events.test.js
message_fetch.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
message_flags.test.js ui: Move update_message_lists related functions to other related modules. 2023-04-26 12:59:08 -07:00
message_list.test.js
message_list_data.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
message_list_view.test.js
message_store.test.js
muted_users.test.js i18n: Localize date and time displays across the app. 2023-02-26 17:43:47 -08:00
narrow.test.js compose: Rename stream selection widget to "select_recipient". 2023-04-27 17:04:19 -07:00
narrow_activate.test.js unread_banner: Refactor unread banner HTML structure. 2023-05-02 09:14:28 -07:00
narrow_local.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
narrow_state.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -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 Localstorage: Use `zod` to parse type `FormData`. 2023-04-24 11:59:02 -07:00
notifications.test.js user_topics: Update user_topics.js to include all visibility policies. 2023-04-11 09:51:01 -07:00
password.test.js
peer_data.test.js
people.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
people_errors.test.js narrow: Remove frontend support for "group-pm-with" operator. 2023-04-25 09:07:08 -07:00
pill_typeahead.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
pm_conversations.test.js
pm_list.test.js
pm_list_data.test.js left_sidebar: Replace the presence dot with bot icon for bots. 2023-04-28 19:14:00 -07:00
poll_widget.test.js
popovers.test.js narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
presence.test.js
reactions.test.js ts: Convert `emoji.js` to TypeScript. 2023-04-05 10:29:01 -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 people: Add function get participants from user_ids_string. 2023-03-07 15:43:03 -08:00
recent_topics.test.js unread_banner: Refactor unread banner HTML structure. 2023-05-02 09:14:28 -07:00
reload.test.js
reload_state.test.js
rendered_markdown.test.js popovers: Add Copied! tooltip when `copy code` button is clicked. 2023-04-24 11:10:19 -07:00
resolved_topic.test.js
rtl.test.js
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_future.test.js narrow: Remove frontend support for "group-pm-with" operator. 2023-04-25 09:07:08 -07:00
search_now.test.js narrow: Remove frontend support for "group-pm-with" operator. 2023-04-25 09:07:08 -07:00
search_pill.test.js private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
search_suggestion_future.test.js narrow: Remove frontend support for "group-pm-with" operator. 2023-04-25 09:07:08 -07:00
search_suggestion_now.test.js narrow: Remove frontend support for "group-pm-with" operator. 2023-04-25 09:07:08 -07:00
server_events.test.js blueslip: Only show in dev mode, or report to Sentry. 2023-04-13 14:59:58 -07:00
settings_bots.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
settings_config.test.js private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
settings_data.test.js
settings_emoji.test.js
settings_muted_users.test.js i18n: Localize date and time displays across the app. 2023-02-26 17:43:47 -08:00
settings_org.test.js dropdown_list_widget: Colorize stream privacy icons. 2023-04-26 10:55:58 -07:00
settings_profile_fields.test.js
settings_realm_domains.test.js
settings_user_groups_legacy.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
settings_user_topics.test.js user_topics: Rename 'settings_muted_topics.js'. 2023-04-25 12:46:05 -07:00
spoilers.test.js
starred_messages.test.js popovers: Refactor topic_menu visible check and hide logic. 2023-04-05 16:47:39 -07:00
stream_create_subscribers_data.test.js
stream_data.test.js js: Break cyclic dependency between modules related to `stream_data`. 2023-04-25 10:05:59 -07:00
stream_edit.test.js
stream_events.test.js compose: Extract a compose_recipient module. 2023-04-20 16:09:55 -07:00
stream_list.test.js refactor: Move simplebar helper functions from `ui` to `scroll_util`. 2023-04-26 12:59:08 -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 scheduled_messages: Hide Scheduled messages on 0 count. 2023-05-02 15:26:33 -07:00
topic_generator.test.js refactor: Rename `stream_sort.js` to `stream_list_sort.js`. 2023-04-25 10:05:59 -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
typeahead.test.js
typeahead_helper.test.js refactor: Rename `stream_sort.js` to `stream_list_sort.js`. 2023-04-25 10:05:59 -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 narrow: Add frontend support for `dm:` narrow and `/dm/...` URL. 2023-04-25 09:07:08 -07:00
typing_status.test.js
unread.test.js left_sidebar: Implement new unread_count logic for muted stream. 2023-04-24 11:41:10 -07:00
upgrade.test.js billing: Allow exempt_from_license_number_check any number of licenses. 2023-04-13 15:26:44 -07:00
upload.test.js upload: Open compose immediately on file drop or paste event. 2023-04-18 16:37:56 -07:00
user_events.test.js
user_group_pill.test.js
user_groups.test.js settings_config: Add "Nobody" group option to system_user_groups_list. 2023-04-11 09:02:09 -07:00
user_pill.test.js
user_search.test.js
user_status.test.js
user_topics.test.js user_topics: Update 'get_user_topics_for_visibility_policy'. 2023-04-25 12:46:05 -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