"State tabs" question

82 views
Skip to first unread message

David Gifford

unread,
Nov 28, 2020, 9:53:12 AM11/28/20
to TiddlyWiki

Hi all

When the tabs macro is used, how important is it to change the state tab to give it a unique identifier ($:/state/tabs/this vs $:/state/tabs/that)? What is at stake? If I have numerous tab macros, but each one in a separate tiddler, will they conflict with each other? Is there a reason they need to be named? Or is the identifier just to help you distinguish them in the sidebar more > systems tab? Or maybe to set the tab that shows as open on startup?

With my "Stroll on steroids" idea, which leans heavily into using tabs as , I want to know if I (or anyone else using this system) need(s) to do the extra step of giving a unique name to  the $:/state/tab in each tabs macro.

Thanks in advance for your help!

TW Tones

unread,
Nov 28, 2020, 8:21:29 PM11/28/20
to TiddlyWiki
David,

You can force uniqueness for each tiddler with qualify to the state eg state=<<qualify  $:/state/tabs>> however this will not be unique within the tiddler. 

Use   <<qualify  $:/state/tabs/articles>>   <<qualify  $:/state/tabs/documents>>  to have additional tabsets unique both to the tiddler and within the tiddler. 

Alternatively if you do not qualify  state=$:/state/tabs/articles  changing the tab in one tiddler will be reflected in all other tab sets using the same state tiddler. This sometimes has an advantage to users who may want to use a particular tab in multiple tiddlers Each open with the last selected.

Pick and choose according to the outcome you want.

Tones

David Gifford

unread,
Nov 30, 2020, 8:32:16 AM11/30/20
to tiddl...@googlegroups.com
Thanks TW Tones! 

I should have explained: each article will have its own unique tabs, so the state/tab would most likely never overlap.


--
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/uCOrNi3Dg9s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6aece854-7c59-404b-92ab-2c629665ef2fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages