Jeremy - fantastic! After a very quick try, I think it looks good and 
similar to how I imagined it. I notice the matching titles list appears 
after I've typed 3 letters. I think this is a bit late considering how even 
two letters can zoom in on very few titles. I would suggest designing it so 
that *when* there are a certian number of titles that one can "see without 
looking" (3-5?) they appear.

Also, the later the title match list appears the greater is the risk that 
you see the titles in both lists. IMO this is mostly an aesthetic issue. 
However, it is only "ugly" when you actually *see* the identical titles in 
both places at the same time. My personal preference would probably be to 
keep the doubles for as long as the top list is so long that I risk missing 
the title there and scroll (again >4-5 items?). Once the top list is short 
enough AND if there are doubles visible at the same time, then the doubles 
should be removed from the bottom list. I think this behaviour will be 
intuitive and unquestioned by a user... unless he discovers it at which 
point it'll be a bit mysterious...

<:-)


On Thursday, November 6, 2014 10:02:25 PM UTC+1, Jeremy Ruston wrote:
>
> I agree that the search result ordering should move title matches to the 
> top. I'm not sure of the best way to do it.
>
> Ton demonstrates one approach: separate filters for each group of matches. 
> With this approach the same tiddlers can appear in more than one grouping. 
> It's also possible to format/label the groups clearly.
>
> The other approach is to extend the search filter so that it sorts the 
> search results according to the field(s) containing the match. With this 
> approach there wouldn't be any formatting to distinguish the groups, and 
> each tiddler could only appear once. The upside is that it would be a good 
> deal more efficient.
>
> Anyhow, I've made a quick update to get things moving by listing title 
> matches first (see the screenshot below):
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/4d061d0fee959fdc5ab470dc8f8379bedfa946d9
>
> I've also pushed a prerelease for you to try out:
>
> http://tiddlywiki.com/prerelease/
>
> Best wishes
>
> Jeremy.
> [image: Inline image 1]
>
> On Thu, Nov 6, 2014 at 7:59 PM, Ton Gerner <[email protected] 
> <javascript:>> wrote:
>
>> Hi Mat,
>>
>> Inspired by the work of Alberto Molina (I can't find a link at the 
>> moment), I extended the standard search with 4 categories:
>>
>> * Tags starting with:
>> * Tiddler titles starting with:
>> * Tiddler titles containing:
>> * Tiddlers containing:
>>
>> For a working example see [1]
>>
>> Cheers,
>>
>> Ton
>>
>> [1] http://tw5custom.tiddlyspot.com/
>>
>>
>>
>> On Thursday, November 6, 2014 8:29:11 PM UTC+1, Mat wrote:
>>>
>>> I suggest to prioritize based on title in search and for tag adding:
>>>
>>> If I understand it correctly, search searches on titles, tags and text, 
>>> and presents the results alphabetically. This also goes for when you add 
>>> tags by typing the first few letters in the "add tag" field. I think it 
>>> would make sense to at least prioritize titles that start with the search 
>>> string. I find I must often "search the search", ie my eyes must scan the 
>>> resulting list to find the title I'm looking for.
>>>
>>> It is true you may not always search for the very tiddler whose start of 
>>> the title match the search string, but the number of titles that start with 
>>> the search string typically diminish very quickly as you type. If you, on 
>>> tw.com, type "je" you get 84 matches but there are only two items, 
>>> JeremyRuston and Jermolene, that start out with the search string. Thus, 
>>> even if you're actually NOT searching for any of those two items then there 
>>> are merely two of them in the otherwise very long list so putting them on 
>>> top would matter little. On the other hand I would think that you quite 
>>> often DO search for titles that start with the search string in which case 
>>> getting them on top would quickify things a lot. Type 1-3 letters and you 
>>> pretty much got it.
>>>
>>> <:-)
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWikiDev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywikidev.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to