Automatically hide admin alerts
Closed this issue · 3 comments
Now that codes are saved asynchronously, it would be interesting for notices ("Snippet updated" and errors) to be hidden after a few seconds so they don't accumulate. It would also be interesting to show these notices as "toasts" in the corner of the screen, because the top will not always be visible.
See also the discussion in the comments under this post:
https://www.facebook.com/groups/codesnippetsplugin/posts/1291501484807926/
Thanks for the suggestion, both!
We've discussed some potential options here. I think we've settled on only ever displaying the latest notice, instead of allowing them to build up.
The issue with having the notices just automatically dismiss is that it will cause the page content to jump up as it disappears, which I imagine could present some annoyances.