v12.5.0
Added Growth Team's FxA Opt-in Experiment
To see specific branches, use the following links:
- Control: https://monitor.firefox.com/?experimentBranch=va
- Treatment: https://monitor.firefox.com/?experimentBranch=vb
Changelog:
Pontoon / Localization updates have been omitted:
32c27c6 mock HIBP.subscribeHash during user verify tests
5a4e3d8 Fixed home page test breakage
dacc370 Fixed OAuth test
aacb929 Removed vC experiment branch.
d45ce46 Replaced lastScannedEmail session logic to set more directly, rather than by incremental ID queries
d32b6aa Removed growthTaggedURL to pass the previous URL variable instead
373cf4d Linted CSS File
777356f Revised submit button listener to include control branch to track Experiment vA in Google Analytics
feb52ea Converted variable to use stricter const declaration.
9f3fabd Cleaned up logic, removed unused, commented code
bf9abb9 Cleaned up logic for branch setting
113bf98 Moved FxA data-attributes to element, reorganized experiment analytics code to sit in one file
7c09ea3 Revised default attributes to attaching to FxA OAuth URL (for-non experiment)
b46b979 Revised handlebars boolean variables to be more succinct.
d489c0b Add mozillausercontent.com
to img-src
CSP directive.
7cb7c34 Add https://accounts.stage.mozaws.net/metrics-flow
to CSP connect-src
directive.
c9d6af5 Remove caching from OAuth submissions on experiment branch
63d7557 Set formAction URL to include UTM params if in experiment branch
b09b9bf Updated additional locations
9820d04 Updated case, added additional action for non-opt-in
9e84c24 Added metrics flow to OAuth experiment button
feeb3cd Removed URI Encoding, Set UTM_SOURCE to use Hostname of SERVER_URL
773912e Fixed #1618 and Fixed #1619 - Added Logic to Restore Original OAuth Function Logic and gated all experiment code to happen after initial function (via options truthy check). This means FxA sign ups (via the experiment checkbox) only run logic from that ONE BUTTON. All other OAuth fires happen as expected, using previous tested logic.
ddb088a Fixed #1608 and Fixed #1616 - Revised logic to set email correctly when launching into FxA flow (both new and current users)
6af36c8 Fixed #1610 - Preserve the experiment branch after resetting the session.
73783ba Fixed #1608 and fixed #1613 - Added logic to pre-populate FxA account from form field. Updated logic on how that stored data is handled after logging out.
ed57b4c Fixed #1607 - Added email validation for both blank and invalid email entries.
9b34699 Routed UTMs through OAUTH process
94f1f3c Added logic to make exp. branch sticky if user sets its via URL param, added entrypoint ID for homepage button
584eab4 Set utm_content based on branch
1daa1ae Added UTMs to site
f654c59 Updated UTMs to set properly
7a3b6fe See variables to be lowercase
f96325f Updated default analytics data set, created UTM setting function for experiment variables
b0045ff Attach control version to body, logic
f394c87 Removed fluent string from en-file
2a70c5c Update branch names to reflect test docs (vA is control)
61dbbc8 Added session variable to route users back to /scans page
5fb8e57 Added purple check mark for experiment's checkbox UI
f864a82 Created treatment logic, CSS styles and form elements. Added logic to controller to randomly assign users to one of the three experiment branches (Control, Opt-in, Opt-out)
780343e Fixed #1625 - Added DuelingNetwork logo