[Google Chrome] Sort Search Bookmarks results by frecency
Extension
https://www.raycast.com/Codely/google-chrome
OS Version
macOS 26.6.2
Description
Search Bookmarks never reorders its results. useBookmarkSearch only filters the list, so the order is whatever getBookmarks returns from Chrome's bookmarks file. A bookmark I open through Raycast every day ranks the same as one I opened once, and when several bookmarks match a query the order looks arbitrary to the user.
Proposal: sort the matches with useFrecencySorting from @raycast/utils, call visitItem when a bookmark is opened, and expose a Reset Ranking action so a mis-hit is undoable.
Two details that matter:
- The list item component is shared with
Search History(ChromeListItems.TabHistory, distinguished by itstypeprop), so ranking has to be wired at the bookmark call sites only.Search Historykeeps itsORDER BY last_visited DESCand must not be reordered. useFrecencySortingpreserves the input order for items that were never visited, so the list looks exactly as it does today until you actually open something.
Related: #8665 (Arc, closed as stale rather than declined), #18214 (Safari), #26013 (Google Chrome, ordering inside Search All).
Who will benefit from this feature?
Anyone who uses Search Bookmarks as their main way to open sites. The more bookmarks you keep, the more the current order costs: matches for a short query are effectively unranked, so you type more characters than the bookmark needs.
Anything else?
No response
Thank you for opening this issue!
🔔 @rgomezcasas @bromanko @crisboarna @andreaselia @rtyke @karolre @Aiee @nagauta @a-laughlin @tleo19 @Tarocch1 @rsperezn @drewbabel @haydencbarnes @pernielsentikaer @j3lte @0xdhrv @xmok @hayk94 @alexibuild @os-moussao you might want to have a look.
💡 Author and Contributors commands
The author and contributors of Codely/google-chrome can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot close as duplicateCloses the issue as duplicate.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.