Make Nested Tabs Easy to Navigate (Most Wanted 2025)

This is perhaps a bit niche, but I’d love an easier way to set a particular tab configuration when navigating to a tiddler. I think it could be particularly useful when writing documentation/demos, as we currently see tab paths like this even in the official docs:

“You can use an $action-setfield widget to set the tab states to the appropriate values!”

Yes… but the <<tabs>> macro stores its state in a <<qualified>> system tiddler by default, so unless you’ve set a custom state parameter for each tabset you want to manipulate, you have to find the appropriate state tiddler before you can do anything with it — and there’s no human-discernible pattern to the titles. I end up using custom state tiddlers for most of the tabsets I build myself, but it’s not practical to change $:/core tabs this way.

“You could just link directly to the tiddler in question…”

Sometimes! The example above could indeed be simplified with a direct link to $:/core/ui/ControlPanel/Parsing. (Thank you, Link to Tabs! How I wish you were pre-installed on TW-com.)

But I use a lot of templates, and a lot of my tabs don’t correspond to any extant tiddler; they’re just a view template providing a particular view.

“If you weren’t overusing tabs so much, you wouldn’t have this problem…”

Possible — nay, likely. :wink: But I don’t intend to stop.

1 Like

You are welcome :wink: – Since Link-to-tabs and Trails do not need to restart they are easy to install from the browser’s “Bookmarks Toolbar”

My TW-com looks like this. I drag & drop import the plugins.


I did create an experimental PR which tried to make the existing ControlPanel tab-states more accessible. They main problem is “backwards compatibility”.

To make it compatible it has to be complex. More complex than “allowed”. Tabs qualified states need 3 different ways to evaluate them, which makes the needed filters complex.

2 Likes

Thanks for the PR link! I should have guessed that you would have considered this before. :wink: I thought it was quite a clever approach, though Jeremy’s observation

it only works for a single tabset within a tiddler.

does mean it probably wouldn’t have covered all my needs. I suppose there isn’t any neat solution, really.

Are you using bookmarklets there? I should really set some up… I find myself going to grab one of your plugins at least once or twice a week.

Here’s a start:

demo

This is the macro I use in https://plm.tiddlyhost.com, this make it easier to locate where the settings for my plugins are.

1 Like