WordPress/wp-admin/js
Clorith 7518c75208 Site Health: Don't show issue groups unless there are items in them.
The Site Health Status screen groups issues into the categories `good`, `recommended`, and `critical` when displaying them to the end user.

Initially, this screen would show `0 critical issues` while the checks were being performed, and then hide the group if no issues were discovered after all checks had completed, this not being an ideal user experience, as it is a better experience to show areas that have content, instead of hiding them after the fact.

This change makes the groups hidden by default, and also changes the logic to see if a group should be displayed when an item is added to the list (as opposed to the previous approach which only did this check once every single test had completed).

Props DavidAnderson, palmiak.
Fixes #47222.
Built from https://develop.svn.wordpress.org/trunk@53950


git-svn-id: http://core.svn.wordpress.org/trunk@53509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-28 19:17:11 +00:00
..
widgets Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
accordion.js
accordion.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
application-passwords.js
application-passwords.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
auth-app.js
auth-app.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
code-editor.js
code-editor.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
color-picker.js
color-picker.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
comment.js
comment.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
common.js Permalinks: Fix aria-live text when removing custom structure. 2022-08-19 21:00:09 +00:00
common.min.js Permalinks: Fix aria-live text when removing custom structure. 2022-08-19 21:00:09 +00:00
custom-background.js
custom-background.min.js
custom-header.js
customize-controls.js Customizer: When a block theme is active, add an information about Site Editor in the Customizer. 2022-03-29 19:10:14 +00:00
customize-controls.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-nav-menus.js
customize-nav-menus.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-widgets.js Widgets: Fix Classic Widgets screen toggle response on small screens. 2022-04-26 06:54:09 +00:00
customize-widgets.min.js Widgets: Fix Classic Widgets screen toggle response on small screens. 2022-04-26 06:54:09 +00:00
dashboard.js
dashboard.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
edit-comments.js Comments: Disable "close on escape" for inline replies when using an IME. 2022-03-18 18:14:02 +00:00
edit-comments.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
editor-expand.js
editor-expand.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
editor.js
editor.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
farbtastic.js
gallery.js
gallery.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
image-edit.js
image-edit.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
inline-edit-post.js Quick/Bulk Edit: Remove duplicate HTML IDs. 2022-05-05 03:26:16 +00:00
inline-edit-post.min.js Quick/Bulk Edit: Remove duplicate HTML IDs. 2022-05-05 03:26:16 +00:00
inline-edit-tax.js
inline-edit-tax.min.js
iris.min.js External Libraries: Update the Iris color picker to version 1.1.1. 2021-11-03 19:40:00 +00:00
language-chooser.js
language-chooser.min.js
link.js
link.min.js
media-gallery.js
media-gallery.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
media-upload.js
media-upload.min.js
media.js Media: Note ClipboardJS as a global in /js/_enqueues/admin/media.js. 2022-03-10 18:43:02 +00:00
media.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
nav-menu.js Menus: Add audible notice on menu item add or remove. 2021-11-15 20:00:59 +00:00
nav-menu.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
password-strength-meter.js
password-strength-meter.min.js
plugin-install.js
plugin-install.min.js
post.js Coding Standards: Wrap some long lines in js/_enqueues/admin/post.js per the JS coding standards for better readability. 2021-11-20 02:49:58 +00:00
post.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
postbox.js
postbox.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
privacy-tools.js
privacy-tools.min.js
revisions.js
revisions.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
set-post-thumbnail.js
set-post-thumbnail.min.js
site-health.js Site Health: Don't show issue groups unless there are items in them. 2022-08-28 19:17:11 +00:00
site-health.min.js Site Health: Don't show issue groups unless there are items in them. 2022-08-28 19:17:11 +00:00
svg-painter.js
svg-painter.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
tags-box.js
tags-box.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
tags-suggest.js Editor: Limit display of tags on classic editor. 2022-04-07 04:06:05 +00:00
tags-suggest.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
tags.js Taxonomy: Only reset non-button form field values after adding a tag. 2022-04-12 19:37:14 +00:00
tags.min.js Taxonomy: Only reset non-button form field values after adding a tag. 2022-04-12 19:37:14 +00:00
theme-plugin-editor.js
theme-plugin-editor.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
theme.js Themes: Include a hyphen in the Block Themes tab key on Add Themes screen. 2022-08-19 13:11:14 +00:00
theme.min.js Themes: Include a hyphen in the Block Themes tab key on Add Themes screen. 2022-08-19 13:11:14 +00:00
updates.js Plugins: Properly encode query string s parameter in plugin search. 2022-08-05 14:12:11 +00:00
updates.min.js Plugins: Properly encode query string s parameter in plugin search. 2022-08-05 14:12:11 +00:00
user-profile.js Upgrade/Install/Users: Prevent JS bug filling new passwords. 2022-04-11 04:29:04 +00:00
user-profile.min.js Upgrade/Install/Users: Prevent JS bug filling new passwords. 2022-04-11 04:29:04 +00:00
user-suggest.js
user-suggest.min.js
widgets.js
widgets.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
word-count.js
word-count.min.js
xfn.js
xfn.min.js