All, Thanks for the suggestions. I did find that using the publishFilter idea works great for not having to worry about a couple of thousand state tiddlers being saved with the TW. However, I'm finding that the default tab from the macro call is being ignored when there is no state tiddler. This is similar to another default tab issue that I've had a few weeks ago that is still not solved.
Mat, your idea would solve the default tab problem, but that still leaves a couple of thousand state tiddlers eventually being around. Is that a performance concern for my TW which is already nearly 9MB? I started to play with your suggestion, but I got confused as to why the button was there. What would be the workflow on this? Would I click that button to save the state tiddler when I first visit each tiddler that this is being used in? Another question I just thought of is can I use a field in the tiddler to set the default state of the tabs? That way, each tiddler could have its own default defined like Mat's idea, but there would be so many state tiddlers. Thanks, Damon On Wednesday, April 29, 2020 at 2:59:36 PM UTC-7, 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/5bcb69bb-cb09-48ec-bbd8-e24af59e1946%40googlegroups.com.

