-
-
Notifications
You must be signed in to change notification settings - Fork 715
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
Make OC edit warning modal cancel button redirect user to OC list [OFN-12774] #12784
base: master
Are you sure you want to change the base?
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.
Looks good, thanks @wandji20 🙏
This PR is conflicting with your other (just merged PR), it needs a rebase and conflict fix before testing. Thanks @wandji20 🙏 |
Hi @wandji20, I couldn't find any problems. Clicking cancel redirects to the order cycle list as expected now. There is an additional popup from the browser now. Is there anything we can do about that? Kazam_screencast_00021.webmAlso Github is asking for another review. Do we need that or is it just due to the earlier conflict resolution? Let me know and I will move this forward. |
Hello @drummer83
It will seem we now block page exit if the order cycle form has unsaved changes.
Yes |
282c9e8
to
1a0ccbe
Compare
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.
Cool, this could work.
What? Why?
Make OC edit warning modal cancel button redirect the user to OC list
What should we test?
Verify that the cancel button in the edit OC warning modal links to the OC list.
/admin/order_cycles/2/edit
Release notes
Order cycle warning modal cancel link redirects the user to Order cycle list
Changelog Category (reviewers may add a label for the release notes):
Order cycle warning modal cancel link redirects the user to Order cycle list
Dependencies
N/A
Documentation updates
N/A