Folks, I have built a set of macros I call tabs-for-tiddlers. I feel a little more investment in time will make this a valuable tool, that I will share.
Basically it provides an easy to use mechanism to use tabs in a tiddler, based on one or more qualities of that tiddler. It makes use of the existing tabs macro without edit. *Please provide any feedback or things you would like to see.* I already have the following working nicely *Tabs for tagging:* Provide tabs for all tiddlers that are tagged by the current tiddler *Tabs for Field:* Provide tabs for all tiddlers that have the current tiddler as a value in fieldname eg parent *Tabs for Subtiddler:* Provide tabs for all tiddlers that have the current tiddler and delimiter as their prefix eg "current tiddler/subtiddlername" <<tabs-for-tagging>> <<tabs-for-field [fieldname]>> <<tabs-for-subtiddlers [delimiter]>> I am yet to finalise; Tabs for filter: Like default behaviour of the tabs macro when using a filter as the list (see tabsets) Tabs for lookups: Looks for all tiddlers prefixed with the lookupprefix which can be either static, Qualified or linked to a unique ID <<tabs-for-filter>> <<tabs-for-lookups [lookupPrefix]>> Given the "Tabs for Filter" I have realised the power lays in defining tabsets so I am building a related set of macros called "tabsets" - tabsets Allows you to quickly create sets of tabs and reuse them anywhere - You simply define a macro or field containing your tabset and use it in <<show-tabset mytabsetname>> The advantage with this is you can have unique local tab content and global tab content combined. You can also mix any of the *Some specific thoughts* Since it is so easy to build tabs with these macros, I think the ability to create new tabs should be included, such that either by default, when in some form of edit mode; you can just click and create a new tab using the same mechanism used to list the tabs. 1. What would be a good way to indicate or toggle a special tab edit mode on this or all tiddlers with tabs-for tiddlers? 2. How do we encourage using caption for shorter tab names? 3. To save even editing the tiddler would a view template button to enable tabs-for-tiddlers be useful (any one of its flavors)? 4. What if we want to add a tab that is an existing tiddler? 5. I want to ensure this solution does not compromise other solutions by working independently. Feel free to contribute or just wait until the finished product. Regards Tony -- 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/c6051c9e-399f-4ccf-897a-3e29c8c9c1b3%40googlegroups.com.

