Notifications

145 views
Skip to first unread message

Eric Shuman

unread,
Nov 14, 2018, 9:36:49 PM11/14/18
to TiddlyWiki
Notifications are small informational messages that appear at the top right of the TiddlyWiki window, and automatically disappear after a preset time.

I would like to change the preset time to about 15 s. How do I accomplish this? There isn't documentation.

TonyM

unread,
Nov 14, 2018, 10:17:49 PM11/14/18
to TiddlyWiki
Eric,

I do not have an answer but here is a little research

See here https://tiddlywiki.com/#Notifications and edit the tiddler

You will see

Notifications are small informational messages that appear at the top right of the TiddlyWiki window, and automatically disappear after a preset time.

<$button message="tm-notify" param="SampleNotification">Display sample notification</$button>

So this is using message="tm-notify"

But https://tiddlywiki.com/#WidgetMessage%3A%20tm-notify provides no timing information

I searched all tiddlywiki using advanced search for  tm-notify
But could not find a timing reference.

I believe others are using timers elsewhere so you may wish to search for alternatives eg slideshow/presentations if no one else responds soon.

Regards
Tony

Jeremy Ruston

unread,
Nov 15, 2018, 10:06:37 AM11/15/18
to tiddl...@googlegroups.com
There is an internal JavaScript setting for the notification duration. It can be changed with this one liner:

title: $:/_ChangeNotificationDuration
module-type: startup
type: application/javascript

$tw.config.preferences.notificationDuration = 15 * 1000;

You’ll need to save and reload the wiki.

Best wishes

Jeremy.

$___ChangeNotificationDuration.json

passingby

unread,
Nov 16, 2018, 12:58:34 AM11/16/18
to TiddlyWiki
For one brief and utterly baffling moment I thought Eric Shulman was asking a question. Whaat! :-)

Eric L Shuman

unread,
Nov 16, 2018, 1:22:56 AM11/16/18
to tiddl...@googlegroups.com
I find it extremely disorientating, myself, seeing definitive answers written with almost my name.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/ukK1sgl6n3o/unsubscribe.
To unsubscribe from this group and all its topics, 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/18a1e996-f863-41a3-88ff-5cf625599222%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric L Shuman

unread,
Nov 18, 2018, 12:06:21 PM11/18/18
to tiddl...@googlegroups.com
I haven't been able to get this to work, but I 100% assume that's a user error on my part. One thing I've been working on is figuring out where to drop code in so it will work even when a given tiddler is closed.

Thank you! The credit goes to you and the error is mine.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/ukK1sgl6n3o/unsubscribe.
To unsubscribe from this group and all its topics, 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.

For more options, visit https://groups.google.com/d/optout.
--
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.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/ukK1sgl6n3o/unsubscribe.
To unsubscribe from this group and all its topics, 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