On 11 November 2014 08:19, Mat <[email protected]> wrote: > Thanks for the great work Jeremy! > > In prerelease: > > Not sure if this has been discussed but while I think deleting empty New > Tiddlers should not require confirmation I do think *non*-empty New > Tiddlers should require confirmation for delete. There's a chance you work > on a New Tiddler and mistakenly press delete instead of save. > > How about Delete happens immediately, and there's a transient Undo button?
Sometimes you want to do a confirmation because the user might not understand the impact of the action -- e.g. the user clicks a Close button, but you want to check: "If you close this window, you'll lose the content!". Those times a pre-action confirmation is often a good idea. Other times you want a confirmation to guard against mis-clicks, e.g. the user clicks Delete (which they likely understand will delete the thing, but you want to check: "Really delete this?". It's really great for this type to just do the thing immediately, then offer an Undo.. like this state-of-the-art ASCII mockup: .--------------------------------. | Tiddler A | | | | tiddler A's content | '--------------------------------' .--------------------------------. | title: [_Edited_Tiddler______] | | content: | | [ some unsaved ] | | [ content ] | | [ ] | | | | ( delete ) ( save ) | '--------------------------------' .--------------------------------. | Tiddler B | | | | tiddler B's content | '--------------------------------' *After the user clicks delete...* .--------------------------------. | Tiddler A | | | | tiddler A's content | '--------------------------------' New Tiddler deleted! ( undo ) .--------------------------------. | Tiddler B | | | | tiddler B's content | '--------------------------------' It would mean that there's a state of existence for tiddlers that is "ghost" or something -- killed but not yet gone to the afterlife. So it's a big commitment architecturally. Cheers ;Daniel -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
