raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.23k stars 2.93k forks source link

[Google Chrome] Update fuzzy search to allow for less precise input #6907

Closed forsythetony closed 1 year ago

forsythetony commented 1 year ago

Extension

https://www.raycast.com/Codely/google-chrome

Description

Add the ability to modify the search algorithm used for searching (primarily an issue with bookmarks) to be more in line with the behavior of tools like fzf.

Current Behavior

I currently have a bookmark named Jira - Mine 📍(Chewy) [AP1]. When I begin typing jira I see it pop up in the list:

image

I'm expecting that when I continue with typing mine it would resolve to the bookmark but it doesn't seem to match.

image

Expected Behavior

A quick test with fzf on the command line shows the expected behavior.

With the following in test_files.txt:

Jira - Mine 📍(Chewy) [AP1]
testbookmark 3
someOtherBookmark

and running the following command cat test_files.txt | fzf we can resolve the bookmark name with just jira mine.

image

Who will benefit from this feature?

All users searching for bookmarks (and potentially tabs). This would allow them to get better results without have to specify search terms in the exact order.

Anything else?

No response

raycastbot commented 1 year ago

Thank you for opening this issue!

🔔 @rgomezcasas @bromanko @crisboarna @andreaselia @rtyke @karolre @Aiee you might want to have a look.

💡 Tip: Once the issue is resolved, comment @raycastbot close this issue to close it.

leeoniya commented 1 year ago

dupe of https://github.com/raycast/extensions/issues/4175?

forsythetony commented 1 year ago

I don't think they're duplicates but I do believe they are related to the same root issue (which is that Raycasts default filtering is, in my opinion, broken).

A fix for this could be implemented by using custom filtering logic. I could try taking a look at this later.

raycastbot commented 1 year ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 1 year ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.