On 11 November 2014 18:56, PMario <[email protected]> wrote: > On Tuesday, November 11, 2014 12:41:53 AM UTC+1, Daniel Baird wrote: >> >> After the user clicks delete... >> .--------------------------------. >> | Tiddler A | >> | | >> | tiddler A's content | >> '--------------------------------' >> >> New Tiddler deleted! ( undo ) >> >> 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. >> > > I like this idea of the "undo button". It would speed up tiddler handling > quite a bit. > How long should "ghosts" hang around? > > The tiddler could be renamed to $:/state/ghost/New Tiddler, which would > be overwritten by the next ghost named "New Tiddler" > If state/ghost would not be saved, ghosts will hang around till you do a > browser refresh. > > Let's be brave and trust our use-case imaginations -- I reckon if it stayed for just sixty seconds then disappeared forever, that would catch practically all of the "ah crap! wrong button!" situations.
So that makes a fairly finite number of ghosts. And you could even decide to keep just one ghost around, and if the user deleted another tiddler while one is active, then that previous ghost gets removed early. Then you have a single ghost, that can "haunt" the sidebar or something and doesn't need to be in the story river. It might be useful to animate the ghost wafting from the tiddler's old position in the river to the sidebar or wherever, just to give a clearer sense of where it went. So now if you were worried about the 60 seconds i mentioned before, if there's only one ghost at a time you can keep it until refresh ;D ;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.
