Closed Bug 1992811 Opened 4 months ago Closed 3 months ago

Enable important-dates suggestions for en locales in DE, FR, and IT

Categories

(Firefox :: Address Bar, task, P2)

task

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
relnote-firefox --- 146+
firefox146 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

This is a follow-up to bug 1985394. Nive says important-dates suggestions should be enabled for en locales in the EU3 countries: DE, FR, and IT. That means English-language suggestions for dates relevant to each country.

This enables Suggest and important-dates suggestions for en locales in the EU
countries. For these region-locales, Suggest itself will now be enabled, but
every feature of it will be disabled except for important dates. So, no AMP, no
Wikipedia, no settings UI, etc. IOW it will only be an implementation detail
that important dates are implemented using the Suggest platform.

I changed the default value of the settingsUI pref so that the settings UI
will be hidden by default. Right now, the default is to show the full UI. If I
didn't change the default, I would need to make more changes to how
QuickSuggest initializes default prefs (the SUGGEST_PREFS const) so that EU
countries would have branching logic for the settingsUI pref depending on the
locale, which is not currently possible.

Currently there isn't any data in remote settings for these region-locales, so
even with this patch, important dates won't be able to be triggered. I'll upload
some data later.

Depends on D268042

Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f5625a706d48 https://hg.mozilla.org/integration/autoland/rev/e53ce5540bdf Revert "Bug 1992811, Bug 1993371, Bug 1966166 - Enable important-dates suggestions for en locales in DE, FR, and IT. r=daisuke" for causing failures at test_RustSharedRemoteSettingsService.js.
Blocks: 1994077

This won't be verifiable until bug 1994077 is fixed, so I'll flag that bug for verification instead of this one.

Flags: qe-verify-
Flags: needinfo?(adw)
Flags: in-testsuite+
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch

:adw did you want to mention this in the 146 release notes? Please nominate if so.

Flags: needinfo?(adw)

Release Note Request (optional, but appreciated)
[Why is this notable]: This is a new type of suggestion in the address bar for users of en locales in France, Germany, and Italy.
[Affects Firefox for Android]: No
[Suggested wording]: For people using English-language versions of Firefox in France, Germany, and Italy, the address bar will now show English-language suggestions for holidays and other important dates.
[Links (documentation, blog post, etc)]: None

relnote-firefox: --- → ?
Flags: needinfo?(adw)

(FYI I edited the previous comment)

On second thought it would be good to verify that this bug did not make any unintended changes!

STR:

For Firefox builds using native locales in DE, FR, and IT regions

  • The settings UI should reflect the fact that Firefox Suggest is enabled. i.e.:
    • The "Suggestions from Firefox/Nightly" and "Suggestions from sponsors" checkboxes should be visible
    • The "Improve the Firefox Suggest experience" toggle switch under those checkboxes should be hidden (yes, hidden)
  • You should be able to trigger AMP and Wikipedia suggestions (no need to go overboard, checking just one suggestion for each is fine)

For Firefox builds using en locales in DE, FR, and IT regions

  • The settings UI should reflect the fact that Firefox Suggest is not enabled. i.e.:
    • The "Suggestions from Firefox/Nightly" and "Suggestions from sponsors" checkboxes should be hidden
    • The "Improve the Firefox Suggest experience" toggle switch under those checkboxes should be hidden
  • You should not be able to trigger AMP and Wikipedia suggestions
Flags: qe-verify- → qe-verify+
QA Whiteboard: [search] [qa-triage-done-c146/b145] [qa-ver-needed-c146/b145]
Regressions: 1995929

Hi Drew,
We tried to trigger the AMP and Wikipedia suggestions for the DE/FR/IT locales using the DE/FR/IT regions, but without success. Could you please share a list of keywords that might trigger suggestions specific to these locales/regions?

Thank you!

Flags: needinfo?(adw)

Ah I'm sorry, I was wrong about the native locales. We did not enable AMP and Wikipedia by default. Instead, we shipped a Nimbus experiment to those countries that enables AMP and Wikipedia for 10% of the population. Actually -- it's confusing, but there is one experiment and one rollout:

The reason there's both an experiment and a rollout is that we added the ampFeatureGate and wikipediaFeatureGate Nimbus variables after the experiment shipped, and in order to keep those same users enrolled in AMP and Wikipedia, we shipped the rollout that targets all of the users in the experiment and adds the new variables.

So in summary 10% of native-locale users in those countries should be getting AMP and Wikipedia. And if you need to test it, you'll need to enroll first in the experiment and then in the rollout.

Flags: needinfo?(adw)

Thank you, @Drew, for the context and all the details. I have enrolled in the experiment, then in the rollout using native locale in IT, FR, and DE, but I cannot trigger any AMP or Wikipedia suggestions.
I am not sure if I'm missing something or if there is an issue with these suggestions. I have logged a separate bug for it, with more information: Bug 1996203.

Flags: needinfo?(adw)
QA Whiteboard: [search] [qa-triage-done-c146/b145] [qa-ver-needed-c146/b145] → [search] [qa-triage-done-c146/b145]
Flags: qe-verify+

Clearing the NI since we discussed it in bug 1996203

Flags: needinfo?(adw)
QA Whiteboard: [search] [qa-triage-done-c146/b145] → [search] [qa-triage-done-c146/b145][qa-investig-needed-c146/b145]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: