Ghost/ghost/admin/app/controllers
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
..
lexical-editor Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
members Prevented background click closing members import modal (#18296) 2023-09-22 12:01:34 +00:00
posts Wired email debug screen with API (#15919) 2022-12-02 14:38:40 +05:30
setup Added Source as the new default theme 2023-10-03 14:02:08 +02:00
activitypub-x.js Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
application.js Added date based cache buster to client script (#19873) 2024-03-18 09:29:00 +00:00
billing.js Refactored billing controller to Octane patterns 2022-10-07 17:59:49 +01:00
collection.js Added collections CRUD UI 2023-05-23 17:26:47 +07:00
collections.js Added collections CRUD UI 2023-05-23 17:26:47 +07:00
dashboard.js Moved onboarding display check into new onboarding service (#19938) 2024-03-27 17:37:37 +00:00
demo-x.js Created a skeleton AdminX demo app (#19005) 2023-11-20 13:30:15 +00:00
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
error.js Fixed max call stack error on error controller 2022-10-07 19:46:30 +01:00
explore.js Improved URL syncing between Admin and Explore (#15640) 2022-10-21 11:48:18 +01:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
lexical-editor.js Improve messaging and error handling (#20078) 2024-05-14 09:31:19 +02:00
member.js Cleared member count cache on manual member add/delete (#19623) 2024-01-30 15:08:27 -06:00
members-activity.js Cleaned up suppressionList feature flag (#16736) 2023-05-04 14:47:04 +02:00
members.js 🐛 Fixed deleting members with email disabled (#19222) 2023-12-04 15:07:30 +01:00
mentions.js Added mentions page for a post 2023-02-22 10:48:15 +01:00
migrate.js Update migration in settings (#19278) 2023-12-13 16:25:29 +01:00
offer.js 🐛 Fixed missing validation of offer amounts in the admin panel (#16022) 2023-01-03 09:23:11 +00:00
offers.js Fixed generating offers in data generator (#19495) 2024-01-16 13:53:34 +00:00
pages-loading.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pages.js Deleted all Admin code relating to the old editor (#18580) 2023-10-12 13:17:39 +01:00
posts-loading.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
posts.js Deleted all Admin code relating to the old editor (#18580) 2023-10-12 13:17:39 +01:00
reset.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
settings-x.js Fixed bugs with AdminX navigation settings (#17340) 2023-07-13 01:12:31 +00:00
setup.js Fixed browser tests broken by onboarding changes (#19998) 2024-04-08 15:15:04 +01:00
signin.js 🎨 Improved copy on too many login attempts 2023-06-20 14:32:04 +02:00
signup.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js Switched tag unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
tags.js Refactored tags screens 2022-09-09 13:27:13 +01:00
websockets.js Added alpha feature to demonstrate websockets 2023-02-17 11:55:15 +01:00
whatsnew.js Fixed "About Ghost" missing system information 2022-09-13 12:28:21 +01:00