On the subject of adding to the core, Remember such things could be part of the core plugins, In Get more plugins, as codemirror currently is. Or even in the empty distribution, but removable.
No need to bloat the minimum which could be used for anything and not need such features. On ANY search result, it would lovely to be able to one click save it in a list, perhaps even better tag them all, then it would be easy to step through each found tiddler and add or remove items from the list. Being able to use multiple searches to create one tagged list would be fantastic. And even better if this would be an add or remove filter. Lists, search and tagging are fundamental features so why not provide the facility to combine them? Personalty I want the following things I do not yet have in a search box in the sidebar - A search that will also list System tiddlers - A Search which is like TWC go to that only searches on title - The ability to copy the tiddler title wrapped [[as required]] from the search results list - The possibility to open for edit a tiddler from the search list without viewing it first (in case its causing a fault) - Saving search results as previously mentioned. Regards Tony On Thursday, 15 November 2018 05:47:55 UTC+11, bimlas wrote: > > What do you think? Is it usefull enough to let it in the core? > > Regular search (nothing new, just want to show the current behaviour): > https://i.imgur.com/ovBjJeV.png > Find system + shadow tiddlers: https://i.imgur.com/yMTWt5d.png > Search by filters: https://i.imgur.com/xIXtmn6.png > > Demo: https://bimlas.gitlab.io/demo/tw5/combined-search.html > > Note: The "Filter error: Missing closing bracket in filter expression" is > not shown at all. > > To achieve this behaviour, rewrite the contents of > $:/core/ui/DefaultSearchResultList with this: > > \define filterExpression() {{$(searchTiddler)$}} +[limit[$(resultsLimit)$ > ]] > > \define filterSearch() > > <$wikify name="transcludedFilterExpression" text=<<filterExpression>> > > <$list filter=<<transcludedFilterExpression>> template= > "$:/core/ui/ListItemTemplate"/> > </$wikify> > > \end > \define regularSearch(scope) > > //<small>{{$:/language/Search/Matches/Title}}</small>// > > <$list filter= > "[$scope$search:title{$(searchTiddler)$}sort[title]limit[$(resultsLimit)$]]" > template="$:/core/ui/ListItemTemplate"/> > > //<small>{{$:/language/Search/Matches/All}}</small>// > > <$list filter= > "[$scope$search{$(searchTiddler)$}sort[title]limit[$(resultsLimit)$]]" > template="$:/core/ui/ListItemTemplate"/> > > \end > \define searchResultList() > > <$list filter="[{$(searchTiddler)$}prefix[[]]"> > > //''<small>{{$:/language/Search/Filter/Caption}}</small>''// > > <<filterSearch>> > > </$list> > > <$list filter="[{$(searchTiddler)$}prefix[$:/]]"> > > //''<small>{{$:/language/Search/System/Caption}} + {{$:/language/Search/ > Shadows/Caption}}</small>''// > > <<regularSearch "all[system+shadows]">> > > </$list> > > <$list filter="[{$(searchTiddler)$}!prefix[[]!prefix[$:/]]"> > > <<regularSearch "!is[system]">> > > </$list> > > \end > <$vars resultsLimit="250"> > <<searchResultList>> > </$vars> > > > > -- 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/81d69e61-5632-4ee5-b388-8588d1d8cbf3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

