Closed bitm0de closed 2 months ago
Yes, this needs fixing.
We just released Kreya 1.13.1-alpha.1, which should fix this issue.
If you want to test this, go to Kreya -> About -> change the release channel to Alpha -> Check for updates -> Relaunch
Kreya 1.13.1 has been released, which should make the search more accurate
I am unable to reproduce this on 1.13.1:
Did you make sure that you are in the "Open operation" quick action (shortcut Primary+O)? It is very easy to accidentally hit the "quick action overview" (shortcut Primary+K) and trying to enter the operation name there, which of course does not show any operations.
Yeah I'm using the Open Operation (Ctrl + O) shortcut.
From your screenshot, why is it highlighting the R in the beginning? That shouldn't match for the "SetAlarm" character sequence.
I found the error: We use fuse.js for searching, as that allows for fuzzy search. However, it looks like it only matches the first 60 characters by default: https://www.fusejs.io/api/options.html#ignorelocation. Your operation path (probably something like very/long/directory/names/SetAlarm
) exceeds that limit, so it doesn't show up in search.
As for the current behaviour, we want to allow users to find operations in directory, for example an operation name "Delete" in the directory "Books" can be found with "delete book", the spelling does not have to be accurate. In the previous release, the threshold was set way too high, resulting in too many unrelated matches.
We are going to fix this, sorry for the inconvenience.
A fix for this has been implemented and was released with the newest beta release. It will be included in the next stable version.
Kreya 1.14 has been released
Describe the bug The "Open Operation" quick search results are terribly inaccurate. It seems to be looking at characters too far apart with its fuzzy search functionality. I have an operation named exactly "SetAlarm" and it doesn't find it anywhere in the search results. It will find everything else not even closely related to my keyword.
To Reproduce Steps to reproduce the behavior:
Expected behavior Search results are accurate/relevant.
Screenshots![image](https://github.com/riok/Kreya/assets/14263968/d8fb4f4e-3edd-4234-a93e-c5e6e83eb4d5)
Environment (if possible, copy the information from the error dialog or the About menu):