Events Made Easy › Forums › Generic › Add record name to delete record popup
- This topic has 7 replies, 2 voices, and was last updated 5 years, 10 months ago by Anonymous.
-
AuthorPosts
-
Fri 4 Jan 2019 at 21:11 #59295AnonymousInactive
Since this operation is NOT reversible (unlike the built-in post WP functionality which just sends to Trash) just to make sure the user has not clicked the wrong record, the confirm delete popup should definitely include the name of the record so the user knows what he is deleting.
Sat 5 Jan 2019 at 00:28 #59297AnonymousInactiveJust to be clear, there was no indication of the record in question on the Templates list page.
Sat 5 Jan 2019 at 09:13 #59300FrankyKeymasterYou can also delete a whole bunch of records in one go, telling the record name would be pointless. It only deletes the records you selected, do visual confirmation is already present.
But I don’t really understand your remark about the record indication on the template page.Mon 7 Jan 2019 at 19:03 #59317AnonymousInactiveThere was no highlight or any other indication for me when deleting records on the Templates list. Safari 12.0.1 MacOS
Mon 7 Jan 2019 at 22:34 #59324FrankyKeymasterI get a popup when using the trashcan-image or when selecting multiple records and selecting the bulk action to delete those. Do both not present a popup? Because certainly the bulk-option does not proceed without approval, the trashbin-image thingie is from inside jtables javascript itself and might not show a popup in your case.
Mon 7 Jan 2019 at 22:48 #59325AnonymousInactiveHi Franky—
Okay, that helped me narrow down the issue. This is definitely a bug in my opinion, but I should have laid out the exact steps for you. Sorry about that.
The trashcan can be selected WITHOUT checking the checkbox (and thereby highlighting the selected row). So, just go to the Templates list (or probably any EME list with trashcan icons) and click any trashcan. The delete confirmation dialog pops up and in that moment, the user has no way to know whether he clicked the correct icon or not.
Imo, the best solution is probably that clicking the trashcan should highlight the row (and probably check the checkbox for good measure). On cancel, the selection should also go away.
Mon 7 Jan 2019 at 23:31 #59331FrankyKeymasterThe trashcan is also present for other admin sections 🙂
But I added extra confirmation to most, see
https://plugins.trac.wordpress.org/changeset/2008076/
and
https://plugins.trac.wordpress.org/changeset/2008077/Tue 8 Jan 2019 at 01:48 #59336AnonymousInactiveThanks Franky, displaying the record name is probably better UX and it was what I was originally expecting to see.
I might as well inform you about a small CSS/display bug in the X close button as well.
Safari MacOS
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.