Bug #16306
closedConfusing messaging on send message page
0%
Description
I was sending a message to someone on the Commons and thought the "content will be discarded" tip was strangely placed. I was wondering whether that was meant to show up as a pop-up if someone clicked "cancel"?
screenshot attached
Files
Related issues
Updated by Raymond Hoh over 2 years ago
- Related to Design/UX #4395: Option to cancel New Message added
Updated by Raymond Hoh over 2 years ago
- File cancel.gif cancel.gif added
- Assignee changed from Boone Gorges to Raymond Hoh
- Target version set to 2.0.2
The "Content will be discarded" text should be hidden by default. Looks like the "Cancel" link functionality is broken.
I fixed the "Cancel" functionality by enqueueing the necesssary jquery-ui-dialog
JS scripts locally, but the styling was off and the dialog would not center and stay fixed on the screen.
I decided to switch out jQuery UI Dialog for jQuery Confirm: https://craftpip.github.io/jquery-confirm/ and the Cancel functionality now looks like this:
Let me know what you think and whether the prompt needs some additional styling or some copy changes before the next maintenance release.
Updated by Raymond Hoh over 2 years ago
- Status changed from Assigned to Staged for Production Release
Updated by Boone Gorges over 2 years ago
- Status changed from Staged for Production Release to Resolved