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?
.tc-tiddler-frame { display:none; }
[data-tiddler-title="the tiddler I want"] { display:block }
InfoSelect was what started me on my more-or-less unending quest for an open source information management system.I had just purchased the "pro" version when I got a notice that the price of future upgrades would be five times what I justpaid. After that I was wary of proprietary solutions where you have no idea what's going on in the board room.
I think CintaNotes may work the way you describe.
I can imagine a way to do what you want IF there is a button to activate the "reduction" search.The button would close all the open tiddlers and then open everything specified per the search text.
The reason you need a button is because actions, like closing and opening things, require abutton. If there was an "action" attribute associated with the edit widget, then it could work withouta separate button.
Mat has a pretty good idea. I don't think you need to iterate and create CSS lines (which also requiresa button) if you're willing to use the regex matching provided inside of CSS. (e.g. title^={{search text}} )
It would be nice to understand why you would do this?
I imagine its only practical with a limited wiki size.
To me all tiddlers are waiting for your use anyway, so why open them to then reduce them? When you can just open what you want when you want?
I see. One way to phrase it is to open a large set and reduce it by successive filters.
It reminds me of the use of include and exclude which resembles white and black lists or all the colour lists in between.
As a network engineer I found some very effective methods in the way one configures routing and security. I will try and find the basic mechanisium and terminology. One reason its worth looking at is it was designed also to optimise and rule in or out a given item very fast with the minimum processing or string comparisons. It was also possible to record every step taken to reduce to a result and view or reuse it in a simple outline.
In some ways this is the definition of filters free from the tiddlywiki meanings. Filter one set into another.
Also big data tries and do this with very large or continuoses input data sets, one of the key results is that this builds an optimum decision tree/paths, I believe this is a big part of claimed AI processes, but at least machine learning.
Using these ideas on top of tiddlywiki would be powerful decision or research tools.
Regards
Tony
Regards
Tony
TonyM wrote:It would be nice to understand why you would do this?Imagine a large screen. Imagine your Tiddlers display small fragments (a sentence or two). Imagine it has columns.= possible 50+ Tiddlers on screen at once.Then you see some you don't want that can be filtered away as they contain the string "#BottledWater" ...
Thinking about mats idea for a filter driven close. ... previewed its action like made the subject titles red so you could see the impact, even the cumulative result.
Imagine a large screen. Imagine your Tiddlers display small fragments (a sentence or two). Imagine it has columns.
= possible 50+ Tiddlers on screen at once.
doesn't really convince me, other than: "I want it". ... If 1 tiddler only contains 2 sentences there is a high chance, that order matters. Search will probably open them "out of order".
... nobody liked that behaviour.
I don't see a reason, why users should wait several seconds for all tiddlers to open. ... You could create a new search, that opens all tiddlers, which contain the "search term". ... But this would also create a UI freeze with each keystroke. ...
... Only experienced users would use search terms, that create a list that is small enough, that it makes sense to open it.
Your example:Imagine a large screen. Imagine your Tiddlers display small fragments (a sentence or two). Imagine it has columns.= possible 50+ Tiddlers on screen at once.doesn't really convince me, other than: "I want it". ... If 1 tiddler only contains 2 sentences there is a high chance, that order matters. Search will probably open them "out of order".
<$button>Open all tiddlers
<$list filter="[all[tiddlers]!is[system]!sort[]]">
<$action-navigate $scroll="no" $to=<<currentTiddler>>/>
</$list>
</$button>
<$button>Reduce As Regexp
<$list filter="[list[$:/StoryList]regexp{$:/temp/search}]">
<$action-sendmessage $message="tm-close-tiddler" $param=<<currentTiddler>>/>
</$list>
</$button>
<$button>Reduce As Filter
<$list filter="[list[$:/StoryList]subfilter{$:/temp/search}]">
<$action-sendmessage $message="tm-close-tiddler" $param=<<currentTiddler>>/>
</$list>
</$button>
<$button>Reduce As Title Search
<$list filter="[list[$:/StoryList]search:title{$:/temp/search}]">
<$action-sendmessage $message="tm-close-tiddler" $param=<<currentTiddler>>/>
</$list>
</$button>
[[Page Starter]]
[all[tiddlers]!is[system]!field:title[Page Starter]!sort[]]
Maybe someone else knows the right incantation to automatically open all tiddlers AND a specified tiddler AND have that tiddler appearat the top of the list.