Suggestion for better WARNING when you delete a tiddler that tags...

27 views
Skip to first unread message

dickon

unread,
Nov 19, 2011, 7:52:29 AM11/19/11
to tiddl...@googlegroups.com
Hi,

A while since I posted.   I had a thought about that happens when you are deleting a tiddler that is also tagging a number of other tiddlers in a TW hosted in TiddlySpace.

Say I have a Space that includes content from a number of other spaces (to get a practical idea of what I mean, go and see @tiddlymanuals in TS, and follow links to explore the AMBIT material to get an idea of how teams of NON-techie therapists around the UK are starting to develop multiple local versions of core (included) content of a complex therapy "manual" that I host for the Anna Freud Centre)

If I'm doing some editing on an important tiddler that is included from another space (one that is, say, tagging another 10 tiddlers), but then I decide that my edits are rubbish, I might give up and decide to delete my 'local' copy of the tiddler - safe in the knowledge that the core (original, included) version will simply "pop back" in its place.

Now, when I click the Delete button, I get a warning pop-up that says "This tiddler is tagging 10 other tiddlers, DO YOU WANT TO DELETE the tags in these 10 tiddlers?" with a tick and a cross to choose between...

Now it is quite easy to get a bit confused at this point (trust me, I know) - a tick looks quite tempting to a confused person - it's like you find yourself saying "OK, computer... you are cleverer than me, I will accede to your suggestion, cos frankly when you start talking about tags and tiddlers my head goes a bit wobbly... [I can't mentalize you, Mr computer...]" - if you DO click the TICK ("delete tags") button then when the original tiddler from the core "bounces back", it is no longer functioning as a topic header in your local version - you have lost a whole load of meaningful connections between tiddlers...

So it seems to me that the way the choice in the warning panel is phrased is biased towards the riskier option (deleting the carefully-placed tags) especially with less confident editors...

So what if we (you clever people, I mean) changed the warning sign I am talking about to something like this:

WARNING! 
You are deleting a tiddler that "tags" [x] other tiddlers in this document. 
Do you want to DELETE or KEEP those tags in place on those other [x] tiddlers?

If you KEEP the tags in place, then if you later use a different version of this tiddler
(if you write a new one from scratch, or have the original version 'bounce back' from
material that has been "included" in your wiki from another space)
then connections will all still be in place.  The safest thing to do is KEEP the tags!

DELETE TAGS [X]                 KEEP TAGS [V]

I hope that makes sense.

Best wishes all
Dickon

Bauwe Bijl

unread,
Nov 19, 2011, 8:31:15 AM11/19/11
to TiddlyWiki
Hi Dickon

What about the revision function?
By snapping back to the "original" version you undo the changes and
keep the old functionality.
(and perhaps an undo/redo function/button in the toolbar for your
users?)

Bauwe

dickon

unread,
Nov 19, 2011, 5:25:17 PM11/19/11
to tiddl...@googlegroups.com
OK - I see what you mean, I think - but doesn't the "remove tags" option actually edit all those other previously-tagged tiddlers as well as deleting the tiddler... So even if I roll back to an earlier revision of Tiddler A (that used to tag, say, Tiddlers H to Q)  does that repair all the removed tags in tiddlers H to Q as well - or do I have to go through each of them individually (and how would I know which tiddlers to repair?)

D.


Måns

unread,
Nov 19, 2011, 6:04:13 PM11/19/11
to TiddlyWiki
Hi Dickon

> So what if we (you clever people, I mean) changed the warning sign I am
> talking about to something like this:
>

> *WARNING! *


> You are deleting a tiddler that "tags" [x] other tiddlers in this
> document.
> Do you want to DELETE or KEEP those tags in place on those other [x]
> tiddlers?
>
> If you KEEP the tags in place, then if you later use a different version of
> this tiddler
> (if you write a new one from scratch, or have the original version 'bounce
> back' from
> material that has been "included" in your wiki from another space)

> then connections will all still be in place.  *The safest thing to do is
> KEEP the tags! *
>
> *DELETE TAGS [X] *                *KEEP TAGS [V]*

RenameTagsPlugin starts like this:

config.renameTags = {

prompts: {
rename: "Rename the tag '%0' to '%1' in %2 tidder%3?",
remove: "Remove the tag '%0' from %1 tidder%2?"
},

I guess you can change the phrases:

1) "Rename the tag '%0' to '%1' in %2 tidder%3?"
and
2) "Remove the tag '%0' from %1 tidder%2?"

to whatever you like i.e.:

"*WARNING! * do you really want to rename the tag '%0' to '%1' in %2
tidder%3?"
"*WARNING! * do you really want to remove the tag '%0' from %1 tidder
%2?"

You could make the RenameTagsPlugin private - not to confuse those who
include the public tiddlers, and still have the functionality in
"private mode" or "configdisable" it - if you just want to have it
ready for activation later...

Cheers Måns Mårtensson

dickon

unread,
Dec 15, 2011, 8:48:06 AM12/15/11
to tiddl...@googlegroups.com
Nice.  Thanks Mans, that is really helpful.  i think those suggstions will solve this

Dickon
Reply all
Reply to author
Forward
0 new messages