zulip/frontend_tests/node_tests
madrix01 c1b5021d84 stream_list: Sort muted to end of sections and add labels.
The stream list left sidebar currently has 3 sections:
* Pinned (+ Muted pinned streams)
* Active (+ Muted active streams)
* Inactive streams

Previously, these sections were separated by horizontal lines, which
did not provide an easy way to discern why there were sections. We add
labels to these section dividers to help with this.

Additionally, within each section, we now sort all muted streams to
the bottom, so that they general minimal clutter.

Fixes #19812.
2022-08-06 21:59:23 -07:00
..
lib models: Remove "role" field from Subscription. 2022-07-13 17:07:44 -07:00
templates Revert "templates: Add {{#let}} block helper." 2021-04-13 17:41:10 -07:00
activity.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
alert_words.js alert_words: Fix alert words with HTML special characters. 2022-03-04 12:26:49 -08:00
alert_words_ui.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
billing.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
billing_helpers.js node_tests: Add a few missing $ prefixes. 2022-03-17 13:10:23 -07:00
blueslip_stacktrace.js dependencies: Upgrade JavaScript dependencies. 2021-05-10 18:07:13 -07:00
bot_data.js confirm_deactivate_user: Provide additional information about user. 2022-07-26 17:03:02 -07:00
browser_history.js docs: Consistently hyphenate “web-public”. 2022-01-28 17:45:45 -08:00
buddy_data.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
buddy_list.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
channel.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
color_data.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
colorspace.js colorspace: Remove unused methods. 2021-05-21 16:53:30 -07:00
common.js keyboard-shortcuts: Add class to arrow keys for Mac shortcuts. 2022-07-20 11:05:15 -07:00
components.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
compose.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
compose_actions.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
compose_closed_ui.js zjsunit: Wire $ to zjquery by default. 2021-06-16 12:55:53 -04:00
compose_error.js compose: Use loading spinner as loading indicator. 2021-12-02 15:11:15 -08:00
compose_fade.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
compose_pm_pill.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
compose_state.js compose_state: Add is_topic_field_empty(). 2022-04-26 12:58:28 -07:00
compose_ui.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
compose_validate.js compose: Show same error message everytime user is not allowed to post. 2022-07-22 17:19:40 -07:00
compose_video.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
composebox_typeahead.js typeahead: Update characters allowed before @-mentions. 2022-08-06 19:29:39 -07:00
copy_and_paste.js node_tests: Mock classes with classes. 2022-04-27 14:36:00 -07:00
deprecated_feature_notice.js deprecated_feature_notice: Migrate modal to dialog_widget. 2021-10-29 16:09:39 -07:00
dispatch.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
dispatch_subs.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
drafts.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
dropdown_list_widget.js dropdown_list_widget: Separate setup method from constructor. 2022-04-27 22:09:10 -07:00
echo.js echo: Clean up confusing handling of message flags in local echo. 2022-03-24 08:10:14 -07:00
emoji.js emojis: Un-share the emoji.js module. 2022-04-04 13:28:49 -07:00
emoji_picker.js emoji_picker: Allow filtering emojis by unicode characters in emoji picker. 2022-05-31 10:02:57 -07:00
event_status.js pricing: Replace "Zulip Standard" with "Zulip Cloud Standard". 2022-02-09 11:00:24 -08:00
example1.js custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
example2.js narrow: Fix messages being cached without flags set. 2022-03-24 08:10:14 -07:00
example3.js node_tests: Replace `set_global` with `mock_esm` in example4.js. 2021-07-22 09:47:47 -04:00
example4.js node_tests: Replace `set_global` with `mock_esm` in example4.js. 2021-07-22 09:47:47 -04:00
example5.js node tests: Use {override} in run_test. 2021-06-16 12:55:53 -04:00
example6.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
example7.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
example8.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
fenced_code.js node tests: Move test to fenced_code.js. 2021-03-12 11:18:44 -05:00
fetch_status.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
filter.js python: Use a real parser for email addresses. 2022-07-29 15:47:33 -07:00
fold_dict.js node_tests: Fix incorrect usage of assert.throws. 2021-08-10 13:18:53 -07:00
hash_util.js hash_util: Rename _uri functions to _url. 2022-03-01 18:14:31 -08:00
hashchange.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
hotkey.js zjsunit: Merge with_field, with_…_disallowed into with_overrides. 2022-07-11 11:35:49 -07:00
i18n.js default_language_modal: Add more space around languages displayed. 2022-07-12 17:23:15 -07:00
input_pill.js input_pill: Remove random IDs. 2022-07-11 11:44:47 -07:00
internal_url.js hash_util: Rename _uri functions to _url. 2022-03-01 18:14:31 -08:00
keydown_util.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
lazy_set.js custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
lightbox.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
linkifiers.js markdown: Nest get_linkifiers_regexes(). 2022-04-05 12:42:15 +00:00
list_cursor.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
list_widget.js node_tests: Mock classes with classes. 2022-04-27 14:36:00 -07:00
markdown.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
markdown_parse.js user_groups: Swap parameter order in is_direct_member_of function. 2022-05-05 13:48:01 -07:00
message_edit.js node_tests: Define locally echoed messages correctly in tests. 2022-08-03 15:59:51 -07:00
message_events.js narrow: Fix messages being cached without flags set. 2022-03-24 08:10:14 -07:00
message_fetch.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
message_flags.js zjsunit: Merge with_field, with_…_disallowed into with_overrides. 2022-07-11 11:35:49 -07:00
message_list.js bookend: Simplify can_toggle_subscription variable flow. 2022-01-31 16:39:16 -08:00
message_list_data.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
message_list_view.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
message_store.js zjsunit: Merge with_field, with_…_disallowed into with_overrides. 2022-07-11 11:35:49 -07:00
muting.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
narrow.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
narrow_activate.js mark as read: Fix banner not closing when x is clicked. 2022-07-12 16:34:26 -07:00
narrow_local.js resolved_topic: Implement resolve, unresolve, and display. 2022-03-07 21:35:00 -08:00
narrow_state.js narrow: Replace pm_string() with _id and _email variants. 2022-06-02 16:41:06 -07:00
narrow_unread.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
navbar_alerts.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
notifications.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
password.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
peer_data.js stream_data: Rename is_subscribed to is_subscribed_by_name. 2021-11-22 15:44:30 -08:00
people.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
people_errors.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
pill_typeahead.js input_pill: Remove random IDs. 2022-07-11 11:44:47 -07:00
pm_conversations.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
pm_list.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
pm_list_data.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
poll_widget.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
popovers.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
presence.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
reactions.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
recent_senders.js node tests: Use {override} in run_test. 2021-06-16 12:55:53 -04:00
recent_topics.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
reload_state.js node tests: Use {override} in run_test. 2021-06-16 12:55:53 -04:00
rendered_markdown.js zjsunit: Merge with_field, with_…_disallowed into with_overrides. 2022-07-11 11:35:49 -07:00
resolved_topic.js resolved_topic: Implement resolve, unresolve, and display. 2022-03-07 21:35:00 -08:00
rtl.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
schema.js
scroll_util.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
search_future.js input_pill: Identify pills by DOM nodes, not random IDs. 2022-07-11 11:44:47 -07:00
search_now.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
search_pill.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
search_suggestion_future.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
search_suggestion_now.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
server_events.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
settings_bots.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
settings_config.js settings_config: Pass settings object as parameter to all_notifications. 2021-09-16 15:46:41 -07:00
settings_data.js settings: Add user_can_create_web_public_streams function. 2021-11-23 10:48:20 -08:00
settings_emoji.js zjsunit: Wire $ to zjquery by default. 2021-06-16 12:55:53 -04:00
settings_muted_topics.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
settings_muted_users.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
settings_org.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
settings_profile_fields.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
settings_realm_domains.js realm_domains_modal: Migrate modal to dialog_widget. 2022-07-07 14:56:45 -07:00
settings_user_groups.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
spoilers.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
starred_messages.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
stream_create_subscribers_data.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
stream_data.js stream_list: Sort muted to end of sections and add labels. 2022-08-06 21:59:23 -07:00
stream_events.js stream_list: Sort muted to end of sections and add labels. 2022-08-06 21:59:23 -07:00
stream_list.js stream_list: Sort muted to end of sections and add labels. 2022-08-06 21:59:23 -07:00
stream_pill.js node tests: Directly test simple stream_pill helpers. 2022-02-22 16:29:36 -08:00
stream_search.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
stream_settings_ui.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
stream_sort.js stream_list: Sort muted to end of sections and add labels. 2022-08-06 21:59:23 -07:00
stream_topic_history.js zjsunit: Merge with_field, with_…_disallowed into with_overrides. 2022-07-11 11:35:49 -07:00
submessage.js node tests: Use {override} in run_test. 2021-06-16 12:55:53 -04:00
support.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
templates.js zjsunit: Optionally exercise template code. 2021-06-15 12:33:26 -04:00
timerender.js js: Fix no-jquery/no-parse-html-literal. 2022-03-17 13:16:34 -07:00
top_left_corner.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
topic_generator.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
topic_list_data.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
transmit.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
typeahead.js emoji_picker: Allow filtering emojis by unicode characters in emoji picker. 2022-05-31 10:02:57 -07:00
typeahead_helper.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
typing_data.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
typing_events.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
typing_status.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
unread.js node_tests: Remove low-hanging uses of __Rewire__. 2022-07-13 16:27:30 -07:00
upgrade.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
upload.js upload: Locally verify file size before uploading the file. 2022-07-28 14:15:04 -07:00
user_events.js settings: Make banner asking to confirm new email sticky. 2022-01-05 14:42:23 -08:00
user_group_pill.js node tests: Directly test user_group_pill helpers. 2022-02-22 16:29:36 -08:00
user_groups.js user_groups: Pass user group object instead of id to get_recursive_subgroups. 2022-05-17 14:51:55 -07:00
user_pill.js status_emoji: Show status emoji in compose_pm pills. 2022-02-11 13:30:08 -08:00
user_search.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
user_status.js emojis: Un-share the emoji.js module. 2022-04-04 13:28:49 -07:00
util.js left-sidebar: Use -, _ and / additionally as stream word separators. 2022-08-02 15:55:07 -07:00
vdom.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
watchdog.js custom_check: Avoid use of assert to avoid confusion with assert.equal. 2021-06-10 09:15:57 -07:00
widgetize.js js: Prefix jQuery object variable names with $. 2022-03-16 12:52:07 -07:00
zblueslip.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
zjquery.js js: Fix no-jquery/no-parse-html-literal. 2022-03-17 13:16:34 -07:00