Hi Ton

> I noticed that tags are found as well (but not fields). Found tags result
in a tiddler without preview.
> Since tiddlers tagged with a certain tag can be found elsewhere (Sidebar,
tab Tags), may be wise to skip the tag results.
> What do you think?is

There are several reasons you can get a result without preview. First let
me explain how the widget works. It just searches in a specific tiddler
text fields and returns what it finds. If it does find nothing it does not
even render the container. I did it that way to maintain it simple and
small. The plugin wraps this widget into a search (list widget) , so what
you see is the result of both widgets working together. The search operator
looks into the text and tags fields while my widget only does it in the
first one. That can produce mismatch results. It does not mean any error,
it just means that nothing matches the search term in the text field. Other
possible cause is that the context widget takes only one search term. It
does not split by space like the regular search does. The search term is
taken as a whole. This is an intended behavior to maintain a good
performance. Anyway there is nothing that stops us to support other
scenarios.

Other thing that would be easy to implement and maybe can be what average
user expects is to show a preview when nothing matches. Maybe the 50 first
characters or whatever is specified in the length parameter.

Let me know your thoughts

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to