raycast / extensions

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

[Kagi Search] Pressing enter doesn't search for current text, but for last autocompletion — which usually results in searching for half the typed search term #12970

Closed felixbinder closed 3 weeks ago

felixbinder commented 2 months ago

Extension

https://www.raycast.com/fearoffish/kagi-search

Raycast Version

1.76.0

macOS Version

14.5 (23F79)

Description

When quickly typing and pressing enter, the search is started for the last autocomplete that has been returned. Since it takes a while for these to come back, on most searches I end up not searching for the typed text, but something half typed. This is frustrating.

Correct behavior: when pressing enter, the search should be for the content of the text box instead of the autocomplete. When selecting an autocomplete suggestion, the textbox text should be replaced.

https://github.com/raycast/extensions/assets/24477285/df82f3e8-b567-47a0-bd95-60c34f1214f4

Steps To Reproduce

Search for any term

quickly press enter

Current Behaviour

search is for first autocomplete suggestion

Expected Behaviour

search is for content of search box

raycastbot commented 2 months ago

Thank you for opening this issue!

🔔 @fearoffish you might want to have a look.

💡 Author and Contributors commands The author and contributors of `fearoffish/kagi-search` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
raycastbot commented 1 month 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 3 weeks 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.