Ghost/ghost/admin/app/styles/components
Peter Zimon 770f657ae9
Improve messaging and error handling (#20078)
ref DES-228

This PR updates messaging and error handling in order to make Ghost calmer and friendlier. High level summary of the changes:

- Removed all onBlur validation in Settings -> now it’s possible to just click around without being warned to fill mandatory fields
- Removed  lot of technical errors like `ValidationError: Validation (isEmpty) failed for locale`
- Completely removed the red background toast notifications, it was aggressive and raw esp. on the top
- Removed some unnecessary notifications (e.g. when removing a webhook, the removal already communicates the result)
- Now we show field errors on submitting forms, and in case of an error we show a “Retry” button in Settings too. This allowed to remove a lot of unnecessary error messages, like the big error message on the top, plus it’s consistent with the patterns outside Settings.
- Notification style is white now with filled color icons which makes everything much calmer and more refined.
- Removes redundant copy (e.g. "successful(ly)") from notifications

---------

Co-authored-by: Sodbileg Gansukh <sodbileg.gansukh@gmail.com>
2024-05-14 09:31:19 +02:00
..
badges.css
browser-preview.css
codemirror.css
dropdowns.css
filter-builder.css
koenig.css 🎨 Updated editor layout to be more mobile friendly (#19327) 2023-12-12 11:51:59 +01:00
lists.css
loading-indicator.css
modal-about.css Deleted old Ember settings pages (#18740) 2023-11-06 06:46:31 +00:00
modals-new.css
modals.css Deleted old Ember settings pages (#18740) 2023-11-06 06:46:31 +00:00
notifications.css Improve messaging and error handling (#20078) 2024-05-14 09:31:19 +02:00
pagination.css
pintura.css
popovers.css
power-calendar.css
power-select.css Deleted old Ember settings pages (#18740) 2023-11-06 06:46:31 +00:00
publishmenu.css 🎨 Updated editor layout to be more mobile friendly (#19327) 2023-12-12 11:51:59 +01:00
settings-menu.css 🎨 Updated editor layout to be more mobile friendly (#19327) 2023-12-12 11:51:59 +01:00
splitbuttons.css
stacks.css Deleted old Ember settings pages (#18740) 2023-11-06 06:46:31 +00:00
tabs.css
theme-errors.css Deleted old Ember settings pages (#18740) 2023-11-06 06:46:31 +00:00
unsplash.css
uploader.css