Repeat for email users...

On Sunday, 24 February 2019 17:52:04 UTC+1, @TiddlyTweeter wrote:
>
> *This post is WAY too long. But I don't know how to shorten it and have it 
> make sense. I try to get to the main issue in **bold** at the bottom.*
>
> I'm wanting tips about solving an issue concerning state tiddlers for the 
> TREE macro (https://tiddlywiki.com/#%24%3A%2Fcore%2Fmacros%2Ftree)--the 
> force behind "Explorer" in the "More" sidebar tab.
>
> I had some discussion with @morosanune  on GitHub (
> https://github.com/Jermolene/TiddlyWiki5/issues/3792#issue-413380536), 
> who played a part in its creation, who has a Version 2 of it that has proof 
> of concept of using it with filtering: 
> http://morosanuae.tiddlyspot.com/#Explorer%20tab%20v2.
>
> I just find the Tree macro very good for understanding and using TW.
>
> An issue is that whilst its easy to collapse all branches, expanding them 
> currently has to be done one-by-one via click on "folder".
>
> I think it would be great if you could expand a whole branch--with its 
> sub-branches and leaves--on one click of a button.
>
> FYI expanded branches are enabled by the Tree macro creating a state 
> tiddler. On first click of a "folder" the branch state tiddler's content is 
> 'show'. On second click the "folder" folds and the state tiddler's text 
> field is changed to 'hide'.
>
> I was trying to figure out how you could, via a button, create the state 
> tiddlers needed for all the "sub-branches" of a "branch" and its "leaves" 
> to be revealed in one go by creating a set of state tiddlers with 
> text="show". 
>
> Its beyond me as "branches" as such are virtual. They don't exist. The 
> state tiddler to reveal "leaves" is the leaves' "path" less the final 
> portion of the name after the last "/". Such "branch" state tiddlers, once 
> set, function to reveal all "leaves" (real tiddlers) within that "branch". 
> I have no idea how you'd code to automate the creation of the needed state 
> tiddlers.
>
> *Here is an example on tiddlywiki.com <http://tiddlywiki.com> ...*
>
> *In the Explorer at 
> https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FMoreSideBar%2FExplorer 
> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FMoreSideBar%2FExplorer> 
> navigate to $:/plugins/ and click all the sub-branches.*
>
> *Then look at Advanced Search under filter ... 
> [prefix[$:/state/tree/$:/plugins/]] to see the states created.*
>
> *This branch contains 24 Tiddlers. And 8 branches need clicking/opening to 
> reveal them all--i.e. 8 state tiddlers are created. *
>
> *How would I be able to create these 8 state tiddlers on one-click?*
>
> Any thoughts much appreciated!
>
> Josiah
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8947ca5d-7981-4b4f-853a-9eb29aac4e53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to