Help please customising sideBar search clone

Hi folks. I have taken a copy of the sidebar search $:/core/ui/SideBarSegments/search because I want to make use of all the popups, and dropdowns that come in the search.

However I want to customise it so the results count and list is also filtered by +[subfilter<include-scope-filter>] and -[subfilter<exclude-scope-filter>]

The code is quite complex with the various bells and whistles so I am asking because perhaps you can see where to do this and I have missed it or you have prior experience.

I am trying to build a “in context search” eg search only tiddlers that meet a particular condition such as tagged with the current tiddler (and other conditions).

Bump? The easy of typing and having the search results generated is very helpful. if I solve this I will have a generic solution we can share. In context searches.

Not directly related to your question

There are some good tips and tricks for Search in Tiddlywiki in TW-Scripts

https://kookma.github.io/TW-Scripts/

See Sidebar > Contents > Search operation

See specially Customize Search Result

1 Like

Your link points to an IP address. The link is broken.