We fetch the experiments as a passthrough between the app and server
so we don't have to expose another service.
In this patch, we've also added the experiments to the sign-in page
context.
Co-authored-by: dschom <dschomburg@mozilla.com>
Because:
* There are a couple of bugs we want to address
This commit:
* Swaps the event reason on choice submission, as they were inversed
* Fixes the Glean event map to cad_firefox_choice_view, as it referenced cad_firefox_view
* Only emits the 'cad_firefox_sync_device_submit' event when user reaches the "needs mobile" screen and clicks "Continue to sync"
fixes FXA-9834, fixes FXA-9833, fixes FXA-9832
Because:
* Our 'yarn glean-generate' command was failing with 'No module named 'pkg_resources', and this is fixed in latest Glean
This commit:
* Upgrades the package
Because:
* If the user reaches a page where they must reauth, for example when following a link from email, we want to suggest the provided email for signin instead of asking the user to re-enter their email (matching parity with backbone)
This commit:
* When reauth is required and there is a redirect to force_auth, set the email on the user model so it can be picked up when navigating to react
Because:
* Subplat subscriptions page sometimes redirects to force_auth and we need to pass params to this page as well as oauth/force_auth
This commit:
* Update router.js to route force_auth and oauth/force_auth to react
* Only pass redirectTo to navigation handler if integration is web
Closes #FXA-9826
Because:
* Redirect back to /subscriptions after signin was not working
This commit:
* Pass the redirectTo as search param
* Validate the redirectTo and if valid navigate there after signin
Closes #FXA-9826
Because:
- During development it could be useful to start only parts of the stack
needed for development on specific domains.
This commit:
- Provides additional stack startup options to only start specific parts
of the stack, by using nx projects and tags.
Closes #FXA-9771
Because:
* We want to incorporate the fxa-crypto-relier library into the Firefox
Accounts codebase and deprecated its webextension functionality.
This commit:
* Adds the fxa-crypto-relier library to the Firefox Accounts codebase.
Closes FXA-9741
Because:
- Prompt none redirect keeps /authentication/* in session history
resulting in awkward behavior when the user uses the back button.
This commit:
- Updates redirect logic to use `replace()`, to replacing the current
resource with the provided redirect URI.
Closes #FXA-9707
Because:
* We want keyboard and screen reader users to have a similar experience to sighted users
This commit:
* Updates alt text for connect another device image
* Updates back button hover/focus/active state
* Adds a tabindex and focus to relevant header elements
* Removes unused old CAD image and class
closes FXA-9698
Because:
* We want to move our metrics to Glean
This commit:
* Adds cad_approve_device_view and cad_mobile_pair_view events, updates yaml and tests
closes FXA-9603, closes FXA-9595
Because:
* We are making a few UX changes to the beginning of the desktop pairing flow
This commit:
* Adjusts the "pair" page when coming from CAD to display a new "Sync your Firefox experience" radio button question
* On selection and submission of this form, conditionally opens FF pair if they already have a mobile device, or displays the mobile QR code if they need to download and then on "continue" opens FF pair
* Adds a back button
* Adds new SVGs, ran through SVGO
* Adds 5x new front-end Glean metrics events
closes FXA-9609
closes FXA-9590
closes FXA-9591
Because:
* We are implementing a new design for the reset password flow, using confirming codes instead of confirmation links
This commit:
* Enable reset password with code by default for local/dev environment
* Feature flag the new design by creating new copies of the pages and conditionally navigating to one or the other based on feature flag status
* Update the architectural pattern used for reset password to align with Signin/Signup including a container/presentation component pattern
* Removing the LinkValidator wrapper around the pages (no longer needed for reset with code)
* All new version of ConfirmResetPassword page with new design
* Update strings on the ResetPassword page
* Update email template to align with latest design (switching to AutomatedEmailNoAction partial, no prompt to change password)
* Update mail helper to only show the reset password code in inbox logs (better dev experience)
* Add unit tests for the new/updated pages
* Update LinkRememberPassword component to match new design
Closes #FXA-7890
Because:
* We are making a few UX changes to the beginning of the desktop pairing flow
This commit:
* Updates copy and images on CAD for desktop
closes FXA-9608
Because:
- We have scenarios where headers are not being forwarded between the graphql-api and auth-server
- This means the client IP isn’t forwarded properly, and customs may block requests
This Commit:
- Creates mode in authClient that fails hard / fast when headers are not provided
- Uses this mode for the authClient instance in our graphql api
- Ensures that headers are always provided to the auth client
Because:
* We'd like to shrink our bundle size in advance of getting tree shaking
functional.
This commit:
* Replaces full lodash import with specific functions used.