-
Notifications
You must be signed in to change notification settings - Fork 4
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
[WIP] suggestions json tests #142
base: main
Are you sure you want to change the base?
Conversation
…ever get into this state (webview2 will not provide invalid uris to the navigation handlers, it'll fail upstream)
…suggestions, and fixed up the scores to match the Windows implementation. These all pass on Windows now, but unsure how pinned tabs are handled on macOS since Windows doesn't have those yet.
…indows_canonicalization_tests' into alex/suggestions-tests
@@ -50,10 +50,10 @@ | |||
"topHits": [], | |||
"searchSuggestions": [], | |||
"localSuggestions": [ | |||
{ "type": "openTab", "title": "New Tab", "subtitle": "DuckDuckGo", "score": 153600, "uri": "duck://newtab", "tabId": "f4386ef1-675d-43f0-b0d3-868488ab9c56" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Windows side, we still have this entry as the top local suggestion with the 153600 score. It looks like it's being scored correctly and should be the top local suggestion result. Do you know why it isn't ending up here on macOS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not shown in open tab suggestions because it's a local New Tab page (duck://newtab) and we only show Settings and Bookmarks local page open tab suggestions
…returned as a tab search suggestion.
Added e9127d3 because it was suggesting the tab that was making the request. |
…ess of the suggestion type.
Task URL: https://app.asana.com/0/1202406491309510/1209499219087611