Closed Bug 1729591 Opened 3 years ago Closed 3 years ago

92-specific fixes for Firefox Suggest offline/online

Categories

(Firefox :: Address Bar, task, P1)

task
Points:
2

Tracking

()

VERIFIED FIXED
Iteration:
94.1 - Sep 6 - Sept 19
Tracking Status
firefox92 --- verified
firefox93 --- unaffected
firefox94 --- unaffected

People

(Reporter: adw, Assigned: adw)

References

Details

Attachments

(1 file)

Bug 1725289 needs to be uplifted to 92 because other patches needing uplift depend on it. However, that bug added a "Firefox Suggest" string and enabled the Firefox Suggest group label/heading for all locales, but we want to keep that feature (the history scenario) restricted to en-* locales in 92, as it currently is. So we'll either need to modify the patch to bug 1725289 before uplift, or better IMO is to land a small follow-up on 92 only that restricts to en-*. I've asked flod if that will be a problem.

This should be verified on 92.

flod says we shouldn't leave the new string exposed in the ftl on 92, so the patch here will need to remove it on 92 in addition to restricting the feature to en-* locales.

Flags: qe-verify+

[Tracking Requested - why for this release]: This is required for the Firefox Suggest rollout on a 92 dot release.

Assignee: nobody → adw
Status: NEW → ASSIGNED
Iteration: --- → 94.1 - Sep 6 - Sept 19
Points: --- → 2

NOTE: This patch should land only and directly on 92, not on 93 or 94.

Bug 1725289 D122550 localized the Firefox Suggest group labels. We need that bug
as part of the patch stack we're uplifting to 92 for Firefox Suggest rollouts,
not because we want the labels to be localized (we don't), but only because
patches in the stack depend on it. On 92, the group label feature should remain
en-* only. (The group label feature is referred to as the Firefox Suggest
"history" scenario.)

This revision does the following:

  • Hides the strings that were exposed in that bug by moving them to the preview
    Fluent file (note that the preview Fluent file is not yet on 92, but the
    revision that added it (bug 1709511 D123032) is also in the patch stack)
  • Adds back the en-* locale check for group labels
  • Restores a couple of test tasks related to locales

This revision should land on 92 after bug 1725289 D122550, obviously.

Depends on D125031

We're tracking the metabug for this work.

Let's make this a bug about all 92-specific changes. We use an enum type in the Nimbus feature manifest (just added it actually), but enums were added in 93 (bug 1716985). Hopefully that's just a one-line change to fix, just remove the enum.

Instead of creating yet another bug/patch to uplift, let's just do it here.

Summary: 92: Restrict Firefox Suggest history scenario to en-* locales when bug 1725289 is uplifted → 92-specific fixes for Firefox Suggest offline/online
Attachment #9240219 - Attachment description: Bug 1729591 - 92: Restrict Firefox Suggest history scenario to en-* locales. → Bug 1729591 - 92-specific fixes for Firefox Suggest offline/online.

STR for QA

The only thing that needs verifying here is that the "Firefox Suggest" group label should appear on 92 for en locales, and it should not appear on 92 for non-en locales. The verification here is the same as the verification for 92 in bug 1725289 (see bug 1725289 comment 15).

This patch is landing only on 92, so this bug does not need verification on 93 or 94.

Flags: in-testsuite+

Comment on attachment 9240219 [details]
Bug 1729591 - 92-specific fixes for Firefox Suggest offline/online.

Beta/Release Uplift Approval Request

  • User impact if declined: Needed for important rollouts on 93 and 92
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Please see comment 6
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Just un-exposes some l10n strings plus some minor fixes. No visible changes.
  • String changes made/needed:
Attachment #9240219 - Flags: approval-mozilla-release?

Comment on attachment 9240219 [details]
Bug 1729591 - 92-specific fixes for Firefox Suggest offline/online.

Approved for 92.0.1.

Attachment #9240219 - Flags: approval-mozilla-release? → approval-mozilla-release+
QA Whiteboard: [qa-triaged]
  • I have verified this issue using the Candidate 92.0.1 build (Build ID: 20210920202613) on Windows 10 x64, macOS 10.15.7 and Linux Mint 20 x64.

  • Since the 92.0.1 Candidate is an en-US build, I verified this issue by changing the language in the "about:preferences" panel (please note that we are not able to verify this issue on non-en builds given we only have the en-US Candidate linked above).

  • After setting the language, I verified that the "Firefox Suggest" group label is no longer displayed when typing history/bookmarks keywords in the Address Bar.

  • The languages I verified are Romanian, French, German, and Polish.

Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Verified per comment 11

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: