As Saq said,

In fact a default tab is irrelevant if the state tiddler exists with a 
value.  

Daemon do you want a detailed example or is this info enough for you to 
proceed?

Regards
Tony

On Thursday, April 30, 2020 at 8:38:20 AM UTC+10, Saq Imtiaz wrote:
>
> TW on node doesn't save state tiddlers and you can set the single file 
> version to do the same. Search this group for "publishFilter"
>
> The tabs macro lets you set a default tab that should be active if no 
> state tiddler exists.
>
> On Wednesday, April 29, 2020 at 11:59:36 PM UTC+2, Damon Pritchett wrote:
>>
>> Hello all,
>>
>> I've been playing around for the last couple of days experimenting with 
>> adding a viewTemplate with a tabbed interface as a footer to tiddlers 
>> tagged with a certain tag. I've been able to make this sort of work with 
>> the tab macro and I've also used the tabber macro of Mat's, but both 
>> solutions have a couple of things that I'm not quite satisfied with. Using 
>> the tabber macro, the tab last visited on a given tiddler is the one that 
>> is selected by default when I open the next tidder. Also with tabber, if I 
>> have two tiddlers open at the same time I can't have two different tabs in 
>> each tiddler since each tab has a single state tiddler associated with. I 
>> solved those problems by using the built-in tab macro, but because I have 
>> nearly two thousand of the tiddlers in question, I'm going to get nearly 
>> two thousand state tiddlers eventually. I've also noticed that the first 
>> time I open any given tiddler, there is no tab selected. I'm assuming 
>> that's because no state tiddler has been created yet. I've also tried using 
>> CSS only tabs, which works fine when only one tiddler's open, but, if two 
>> or more are open, only the most recently opened one has working tabs.
>>
>> I'm looking for any other suggestions on how to make this work. So far, I 
>> like using the built-in tab macro best, but I worry about performance after 
>> a few hundred (or whatever the number might be) state tiddlers are created. 
>> Is this even a concern?
>>
>> Many thanks,
>>
>> Damon
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/26d49cf3-eb52-4e67-a56c-b1e3c2e5d253%40googlegroups.com.

Reply via email to