-
-
Notifications
You must be signed in to change notification settings - Fork 3k
DPMMA-2938 GrapesJS Text Editor Modal Save UX Improvements #14533
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
DPMMA-2938 GrapesJS Text Editor Modal Save UX Improvements #14533
Conversation
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.
I'm trying to get rid of having Save + Save and Close on the entire platform because this is an UX issue, so this might be something to remove from this PR to move it forward...
For modals, the only option must be "Save" (which will save & close), while static pages (like creating a segment) must use only "Apply" (will save without closing, without offering the option to Save & Close)
In the future, when you click to Apply changes, the Cancel button will dynamically update to "Close" to better reflect the action
While changes are present, it'll remain "Cancel" and present a confirmation message before discarding your in-progress work
So in this case, the fix would be to remove the "Apply" option and behavior from the modal, leaving only the "Save" option labelled exactly this way (no "Save & Close" or "Apply & Close")
@andersonjeccel makes sense. After your suggestion this PR introduces two changes:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 6.x #14533 +/- ##
============================================
- Coverage 64.04% 64.04% -0.01%
Complexity 34652 34652
============================================
Files 2287 2287
Lines 103718 103718
============================================
- Hits 66427 66426 -1
- Misses 37291 37292 +1 |
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.
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.
This was very annoying behavior. I bet a lot of content was lost and had to be re-created again because of this. Thanks for taking the time! 👍
This pull request has been mentioned on Mautic Forums. There might be relevant details there: https://forum.mautic.org/t/announcing-mautic-6-beta-now-available-for-testing/35196/1 |
Description
This PR introduces UX improvements to the GrapesJS text editor modal:
📋 Steps to test this PR: