Turn on Merino as a Firefox Suggest source
Categories
(Firefox :: Address Bar, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | verified |
People
(Reporter: nanj, Assigned: adw)
References
Details
Attachments
(1 file)
If the user has already opted-in to the FS in the Online experiment, let's turn on Merino for them without showing the opt-in prompt.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
We only need to default merino.enabled
to true for users in online. If the
user has opted in, then quicksuggest.dataCollection.enabled
will also be true
and we'll fetch Merino suggestions. Otherwise it will be false and we won't
fetch Merino suggestions. That logic is implemented here:
https://searchfox.org/mozilla-central/rev/9a5f36b0ddb9cb8ae556fc5b45f8ccea0f0da6f8/browser/components/urlbar/UrlbarProviderQuickSuggest.jsm#144
We could also default it to true for users in offline too. It would make sense
IMO, now that we have a separate toggle for data collection in the preferences
UI, so even offline users can opt in to Merino/data collection.
I also updated the various sets of prefs for test suites so that the Merino
endpoint URL is empty when running tests, so they don't hit the network. I could
have forced merino.enabled
to false instead, but this revision causes the
status of that pref to depend on the scenario, which is something we potentially
might want to test.
I was going to base this on D131751, but we're blocked on landing that until the
modal redesign is ready.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/408b89a2e02c Turn on Merino as a Firefox Suggest source. r=nanj,webdriver-reviewers,whimboo
Comment 4•3 years ago
|
||
bugherder |
Assignee | ||
Comment 5•3 years ago
|
||
Resummarizing to reflect what landed. We turned on Merino as a Firefox Suggest source. Users who have opted in to data collection (either via the online opt-in modal or by toggling on data collection in about:preferences) will have suggestions provided by Merino, with remote settings as a backup.
Assignee | ||
Comment 6•3 years ago
|
||
STR for QA
- Enable Firefox Suggest and data collection (e.g., by using the offline scenario and turning on the third Firefox Suggest toggle in about:preferences)
- Set
browser.urlbar.quicksuggest.remoteSettings.enabled
to false to make sure you're only getting Merino suggestions - Type something in the urlbar to trigger a suggestion, like "amazon"
- Verify the suggestion appears
If you'd like, you can further verify suggestions are fetched from the Merino endpoint by opening the Browser Toolbox, clicking the Network tab, and verifying that the Merino URL is loaded when you trigger a suggestion: https://merino.services.mozilla.com/api/v1/suggest?q=amazon
I have verified this issue on the latest Nightly 96.0a1 build (Build ID: 20211202094249) on Windows 10 x64, macOS 10.15.7 and Linux Mint 20.
- In order to verify this issue I have used the STR provided in comment 6.
Description
•