-
Notifications
You must be signed in to change notification settings - Fork 9
Improve sorting of search results during quickMove / quickJump #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Two observations/comments:
|
There is a built in single time stamp or every folder, that is being updated, see also issue #80 for some of the actions I had to take to fix the recent folders updating correctly when emails are being dropped to the folder tree. I added a folder listen but excluded certain special folders (e.g. draft / trash / archive) becuase they would otherwise always be on the top of the "recent folders" list.
If there is a complex / diverse / granular way to configure the results we would still need to define the various possible algorithms (and I would need to build a UI that the user easily understands). Starting with alphabetic order is probably more helpful - at the moment I have different scores when you enter 3 letters or more (in that case I allow matching of text within the string) - with only 2 characters I only look at the start of word boundaries IIRC. I think the length match was probably one attempt to be a little more heuristic but I didn't do a great job there. I thought the longer the matched part the better the result, but I don't think this works as expected. The Mozilla Debugger has a quite interesting way of matching file names, where the letters do not have to be adjacent when you are looking for a file. So in your case you could type "Ce352x" in order to match "Centrum35_2xLED-Display_GPS-Problem" or "Cengps". quickMove only looks for the exact match letter by letter, within all folder names |
Here is a first try version - taking out the ranking that's based on length (only if the full folder name is typed, it will show on top). So it should be sorted mainly by alphabet.
(to try out this version, download the zip file above and drag into Thunderbird Add-ons Manager) |
implemented in 5.3 and 4.20 - released 22/02/2021 |
Search results are matched based on different variables, one of them being matching string length - this leads to very similar results being ordered by short to long string length. The user would expect similar folders (especially those with a common parent folder) to be sorted alphabetically.
The text was updated successfully, but these errors were encountered: