-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX ModelAdmin toast elements #11037
FIX ModelAdmin toast elements #11037
Conversation
Failed tests are unrelated to this PR. This PR should fix #11038 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing toasts for:
- validation errors
- archiving
- published (currently says "saved")
- any actions from the gridfield itself (
...
on a row)
The message should also reflect the messages in the pages admin. e.g. when I save a page, it says "Saved 'New Page' successfully."
17ae52e
to
673893b
Compare
Updated. Required silverstripe/silverstripe-versioned#424 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still needs:
- Toasts on validation errors aren't happening
- Toasts aren't happening for any actions from the gridfield itself (
...
on a row) - Quotation marks around the name of the item (instead of
Saved Company Some comany name successfully
it should beSaved Company 'Some comany name' successfully.
(to match the pages admin)
673893b
to
5416aff
Compare
5416aff
to
e5a147e
Compare
This is a part of |
e5a147e
to
d883719
Compare
The toasts for validation messages has broken again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great and works well locally.
Parent issue