Closed Bug 1818570 Opened 1 year ago Closed 1 year ago

Fix entrypoint for FxA toolbar button when not signed in, and include experiment ID and branch slugs in opened FxA page

Categories

(Firefox :: Toolbars and Customization, task)

task

Tracking

()

VERIFIED FIXED
112 Branch
Tracking Status
firefox111 --- verified
firefox112 --- verified

People

(Reporter: mconley, Assigned: mconley)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

A few things that I want to address here:

  1. Passing the panel here caused us to default to passing fxa_app_menu as the entrypoint, which is not true in the toolbarbutton case.
  2. If the user is in an experiment, we want to pass the experiment slug and variation into the FxA page via the entrypoint_experiment and entrypoint_variation URL params.

Not addressed here: I realize I goofed in bug 1816560 and named the variable for the fxaButtonVisibility feature "boolean". In the interests of speed, I think we might just have to live with that strangeness.

Assignee: nobody → mconley

I have an experiment page set up at https://experimenter.services.mozilla.com/nimbus/firefox-accounts-toolbar-button-default-visibility in the review stage in case people want to test this.

Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/35ebaf6616d7
Fix entrypoint for FxA toolbarbutton and include experiment / variation slugs when opening FxA page. r=Mardak,markh
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch

I have verified this task using the latest Firefox Nightly 112.0a1 (build ID: 20230226214053) by enrolling in the "Firefox Accounts toolbar button default visibility" experiment on Windows 10x64, macOs 12.6 and Linux Mint 20.2 and I can confirm the following:

  • The Control branch has the following parameters in the URL:

    • entrypoint = fxa_app_menu
    • entrypoint_experiment = optin-firefox-accounts-toolbar-button-default-visibility
    • entrypoint_variation = control
  • The Treatment branch has the following parameters in the URL:

    • entrypoint = fxa_discoverability_native
    • entrypoint_experiment = optin-firefox-accounts-toolbar-button-default-visibility
    • entrypoint_variation = treatment-a
Status: RESOLVED → VERIFIED

Comment on attachment 9319522 [details]
Bug 1818570 - Fix entrypoint for FxA toolbarbutton and include experiment / variation slugs when opening FxA page. r?Mardak!,markh!

Beta/Release Uplift Approval Request

  • User impact if declined: None.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This adds some additional telemetry and entrypoint parameters to the FxA toolbar button when it's made visible by default for an experiment. It's a small, well understood, well-contained patch.
  • String changes made/needed: None.
  • Is Android affected?: No
Attachment #9319522 - Flags: approval-mozilla-beta?

Comment on attachment 9319522 [details]
Bug 1818570 - Fix entrypoint for FxA toolbarbutton and include experiment / variation slugs when opening FxA page. r?Mardak!,markh!

Approved for 111.0b7

Attachment #9319522 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I have verified this task using the latest Firefox Beta 111.0b7 (Build ID: 20230228190024) by enrolling in the "Firefox Accounts toolbar button default visibility" experiment on Windows 10x64, macOS 12.6 and Linux Mint 20.2 and I can confirm that the Sign in URL contain the correct parameters on each branch.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: