But I am wondering if it could be combined with a list-search for the tag column, whether [Tobias’]( tb5 — Welcome ) or [Mohammad’s]( KISS Macro to Create a List-Search ) or something equivalent. The list-search wouldn’t check or uncheck the tag checkboxes, it would just help the user get quickly to the tag(s) he wants to check. If the list of tags were long it could slide off the page, requiring scrolling up and down.
Since this is now very different from my TiddlyTools/Search/Tags code, I’ve changed the “config” tiddler to use $:/temp/FindTags instead of $:/config/TiddlyTools/FindTags. This has the added advantage of being automatically discarded when saving your TiddlyWiki so that you always start fresh.
I also added a “reset” button to manually delete the $:/temp/FindTagstiddler. This resets the “match” and “items” (selected tags) so you can start fresh whenever you want during the current browser session.
The search:title:some{!!match} filter operator is used to trim the list of tags.
Since you don’t actually show the “tag1 AND tag2 AND …” output, I removed the show() macro and moved the <$list filter=<<filter>>><$link/><br></$list> code “inline” in the table.
I also removed the <$let tids=...> code, since it isn’t needed because you are always searching in “tiddlers” without “shadows”.
is it possible to make the left column scrollable and keep the right side (search results for the selected tags) static as long as it doesn’t exceed the max-height?
This way, the “search results” are always visible.
If the right column exceeds the max-height, a scrollbar should appear.
Eric, this is a great tool, especially with the new tweak in response to @StS . It offers users a quick way to search for tiddlers by tag. It reduces the need to create list-links and list widgets. And it is a clean looking interface.
Are you going to offer it on TiddlyTools?
I am asking because I would like to add it to my documenting TW site but currently it exists only as a tiddler in my reading file. I called it “$:/TiddlyTools/ListSearchFilterMultipleTags” for lack of a better title. But I would rather point to an official location on TiddlyTools if you think it is worthy of inclusion there.
The code posted here is essentially a use-case specific subset of TiddlyTools/Search/Tags. The significant differences:
addition of a “match tags” text input (to narrow the list of tag checkboxes)
elimination of the “ include shadows” option
elimination of the “OR” tiddler list
the use of a table instead of blockquotes for the display
Your use-case is sufficiently different that I think the best approach is to keep the existing TiddlyTools/Search/Tags code “as-is”, except for adding the “match tags” handling.
The only thing I would request is that you give your implementation a different name that does NOT contain “TiddlyTools”, as that implies that it is something I have published on my site. Just call it $:/ListSearchFilterMultipleTags.
If you want to give me some credit, you can add an HTML comment within the code that says something like “Derived from TiddlyTools/Search/Tags with the assistance of Eric Shulman”
Thank you all for this little tools very useful. I just added a limitation to the width of the 1st column. I have a wiki with a pretty long tag and I could’nt see enough of the titles…