View Single Post
Old 05-25-2015, 08:22 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Rather than editing (F2) a deleted item to undelete it, how about deleting it again - i.e. Del key/icon, acts as a toggle. Then maybe the 'R U sure you want to undelete' wouldn't be necessary. F2 would do nothing on a previously deleted item.
Thanks.

There are some complications with using delete as a toggle. The user can select a mixture of deleted and not deleted items. The "natural" implementation without confirmation would silently toggle them, deleting some and undeleting some, something I think is a bit strange. I have added "Are you sure?" to both undelete and delete. Both dialogs have a check box "show me this again". If you select a mix of deleted and undeleted items, you will get both dialogs, assuming you haven't turned them off. If you say no to either then nothing happens. I was tempted to ensure that all selected items were in the same state when doing a delete. I still am tempted.

I left editing as an alternate way to undelete an item.

As a bonus:
  • I added "editing" of the previous value column as undo, either of a delete or of changes to the tag's value.
  • I added F2 (or whatever it is on the platform) to open the editor.

I wonder if we should take this to a separate thread.
chaley is offline   Reply With Quote