TiddlyTweeter wrote:
>
> Ciao Mat, that will likely open all I want well, but how do I dynamically 
> in search filter (i.e. close many) to just what I need?
>

Not a great answer but it would be simple IF the message 
tm-close-other-tiddlers 
<https://tiddlywiki.com/#WidgetMessage%3A%20tm-close-other-tiddlers> could 
be remade to take a filter rather than a single tiddler title.

As it is, I guess you'd have to use tm-close-tiddler 
<https://tiddlywiki.com/#WidgetMessage%3A%20tm-close-tiddler> , i.e the 
"search filter" button would really be a button to trigger a 
close-one-tiddler-at-a-time message chain. My guess is that it'd be pretty 
slow. 

Possibly another approach would be to merely *hide* all but the relevant 
tids using CSS. This should be very fast - but maybe *using* the wiki might 
be slow, since everything is open. If the wiki is not overly big (i.e not 
slow to use), then every tiddler could be open but hidden (i.e 
"display:none") from the very start i.e when the wiki loads, so the river 
looks empty like a normal wiki. The search button would really be a button 
that applies the search field value to some field which is transcluded into 
this type of construct (ref 
<https://tiddlywiki.com/#Custom%20styles%20by%20data-tiddler-title>):

.tc-tiddler-frame { display:none; }
[data-tiddler-title="the tiddler I want"] { display:block }

The last line repeated for each tiddler you want to see (e.g by using a 
listwidget that iterates through the aforementioned field that is set with 
the search button).

That's a rough idea anyway.

<:-)

-- 
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/f9dc9997-05c4-46a9-a2ba-4ac390967ede%40googlegroups.com.

Reply via email to