Melapress / admin-notices-manager

Admin notices manager is a WordPress plugin that allows you to better manage the admin notices in the WordPress dashboard so you read them at your own convenience and never miss an important message.
https://www.wpwhitesecurity.com/wordpress-plugins/admin-notices-manager/
Other
0 stars 0 forks source link

Improve 'flash' of notices on page load #69

Open DannyWPWS opened 2 years ago

DannyWPWS commented 2 years ago

https://secure.helpscout.net/conversation/1965310154/9066/

The user doesnt like the small (very small) delay when a page loads where notices can be seen as the plugins JS does its job of scanning for notices

Iv explained its actually part of the issue our plugin is solving (we need to detect notices with JS, this needs to happen on load) but we might be able to improve this with some 'generic' CSS to hide notices possible

Something to look at in future

robert81 commented 1 year ago

Did you have anything in mind for this @DannyWPWS ?

DannyWPWS commented 1 year ago

Leaving this one for another time

As outlined by Loco Translate, some plugins might use the standard .notice classes given to us by WP, which in turn means should we decide to hide such notices by CSS we will then need to use further JS to unhide them in cases where a plugins admin share the same class

I imagine we can do it, but the time to do so is not now