-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[UX] Improve saving options #13713
base: 5.x
Are you sure you want to change the base?
[UX] Improve saving options #13713
Conversation
PHPUnit tests are probably failing because of this line:
Every button is still called Save, but something on the code associates it with Apply instead of Save & Close, and since I set the Apply button as false, the tests can't find the button @LordRembo or @mallezie Could you help me? I need to know what must change for tests to properly use Save & Close |
problem is that there is changed behavior, for which tests need to be adjusted. Current Oauth2Test does following.
To change above, before checking the values of the form, we need to go back to the created api credentials form. Actually go to s/credentials/edit/ Herefore we could (untested) change code something like this.
Should become something like this.
|
Description:
Modern apps tend to use only "save/cancel" to simplify the user experience and keep the interface clean and intuitive. This PR ensures that the system performs the appropriate action in the user context.
When clicking Save, the system will automatically close the editing screen in these scenarios:
In these other scenarios, the system will simply apply the changes without taking the user out of the page:
Why must we change that?
Steps to test this PR: