Closed Bug 1922316 Opened 1 year ago Closed 1 year ago

Only set sidebar nimbus prefs with a minVersion check

Categories

(Firefox :: Sidebar, task)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox131 --- unaffected
firefox132 + fixed
firefox133 --- fixed

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(2 files)

[Tracking Requested - why for this release]: needed to support experiment enrolling 132 -> upgrade to 133

Building on the ability to flip prefs from bug 1895932, we want to conditionally set these prefs depending on the current firefox version so that we can pre-enroll users during 132 without changing the experience until upgrading to 133. This should be copying the chatbot functionality from bug 1916274:

if (
  Services.vc.compare(
    AppConstants.MOZ_APP_VERSION_DISPLAY,
    lazy.NimbusFeatures[featureId].getVariable("minVersion")
  ) < 0
) {
  return;

Add minVersion feature variable to check against current firefox version.

Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/542c9391430f Only set sidebar nimbus prefs with a minVersion check r=sidebar-reviewers,sclements,Gijs
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

Add minVersion feature variable to check against current firefox version.

Original Revision: https://phabricator.services.mozilla.com/D224356

Attachment #9429437 - Flags: approval-mozilla-beta?

verified with stage preview https://stage.experimenter.nonprod.dataops.mozgcp.net/nimbus/mardak-test-chatbot-minversion and a changing the firefox version from 133.0a1 to 133.0a2

beta Uplift Approval Request

  • User impact if declined: users enrolled during 132 experience pre-133 feature
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: manually verified with stage preview experiment, experiment testing will cover
  • Risk associated with taking this patch: low
  • Explanation of risk level: only runs for experiment with new logic to skip
  • String changes made/needed: none
  • Is Android affected?: no
Attachment #9429437 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
QA Whiteboard: [qa-triaged]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: