TIDDLYMAP: Would it be possible to trigger other actions when doublecliccking a node in the map.

92 views
Skip to first unread message

Jan

unread,
Feb 18, 2019, 5:20:29 AM2/18/19
to TiddlyWiki
Dear Fans of Tiddlymap.
especially when Tiddlymap is in Fullscreen it would be nice to configure
doubleklicking a node to trigger different actions e.g. Displaying the
Tiddlercontent in a Modal.
Is it possible to do this without touching the javascript-Tiddlers? What
would have to be changed?

Thanks for your Help
Jan

TonyM

unread,
Feb 18, 2019, 10:07:20 PM2/18/19
to TiddlyWiki
Jan,

I do not know the answer as I do not currently use tiddlymap. However if you can find <$button widgets that define what happens on clicking a node you could change or add action widgets including action sendmessage(s). The only issue is that you may be changing this from a default behaviour which is essential to make tiddlymap work. Where what you may need is a popup on click so you can choose your new actions vs the default actions.

Regards
Tony

Jan

unread,
Feb 19, 2019, 5:31:29 PM2/19/19
to tiddl...@googlegroups.com
Hi Tony,
thanks for your answer.
Unluckily this seems to be within the .js-tiddlers so that I can not figure out how to change this. The clicks on edges are configurable the clicks on nodes are not.
It would be nice to have a switch here too.

Yours Jan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d6800fda-3ed8-4223-ae7f-8c529778fa84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Felix Küppers

unread,
Feb 20, 2019, 11:47:13 AM2/20/19
to TiddlyWiki
Hi Jan,

especially when Tiddlymap is in Fullscreen it would be nice to configure
doubleklicking a node to trigger different actions e.g. Displaying the
Tiddlercontent in a Modal.

Displaying the Tiddlercontent in a Modal on double click is actually the default behavour. Or what do you want to achieve?
It is on purpose that you cannot open other tiddlers than those on the map as modal when in fullscreen mode.

Is it possible to do this without touching the javascript-Tiddlers? What
would have to be changed?

I am afraid this behaviour is pretty much baked into tiddlymap. An option would be to allow extensions to tiddlymap e.g. that custom js code can be added to the right-click context menu – but this is not a feature for the near future.

Best regards
Felix

Jan

unread,
Feb 20, 2019, 6:46:14 PM2/20/19
to tiddl...@googlegroups.com
Hallo Felix,
ouch, sorry... this is because I built my own fullscreen which I trigger with another button and which obviously is not fullscreen for Tiddlymap.
(Sounds stupid, but there is some reasons why I did this: It fits better into my userinterface, I can start dirctly in Fullscreen mode and I need to perform some action when switching to the other view...)
Is the Fullscreen-state stored somewhere in TW or may it be called in a different way?

Ahoi: Jan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Reply all
Reply to author
Forward
0 new messages