Because:
- Initialize PayPal SDK and add button to checkout page
This commit:
- Adds PayPal SDK and initializes provider
- Adds PayPal button and only display when PayPal is selected in Payment
Element
- Updates CSP for PayPal URLs
- Adds config options
Closes #FXA-7585
Because:
* We use this component in multiple places (sidebar and setitngs), and it fired a view event for each instance
* We want a glean click event for comparison on a custom event
fixes FXA-10317
Because:
* Glean metrics were not emitted for settings with a console error
This commit:
* Remove glean from fxa-settings dependencies as follow-up to PR-17470
Because:
* iOS does not respond to this web channel message, unlike desktop which prompts the user with an alert, and unlike Android, which responds with 'ok: true' automatically
This commit:
* Only sends the web channel message if desktop v3 context is used. We will update this for OAuth desktop before that feature rolls out.
closes FXA-10316
Because:
- Settings is not being served from a CDN
This Commit:
- Configures webpack so that it can build assets that will work with a CDN
- Updates docker build to produce static bundle for stage cdn
- Updates docker build to produce static bundle for prod cdn
- Makes a couple changes to target these new build assets in content server
- Uses the full hash in bundle names to reduce the chance of conflict
Note, that we currently do a string replacement on index.html to inject some config and a flow id. If we didn't do this, we could serve this as a SPA directly off the CDN which would be faster. This should be a future consideration.
To test what this would look like once deployed on stage / production, override the following in local.json config.
"static_directory": "dist"
"page_template_subdirectory": "dist"
"proxy_settings": false
Because:
* There was no spacing between Use a different account and Forgot password? links on mobile sign in page
This commit:
* Tweak styling to show links on separate lines for mobile
Closes #FXA-10305
Because:
- Locally the sync service wasn't running.
- We couldn't test sync flows against a local sync server
- There's a new version of the sync server that uses rust
This Commit:
- Sets up a dockerfile for syncstorage-rs that is tailored to fxa's local stack
- Updates pm2 sync job to run this docker container and initialize its databases.
- Updates firefox config/profile to point at this service
- Starts firefox up with the FIREFOX_DEBUGGER=true env.
- Useful for debugging sync
- Useful for debugging FxA web channel messages
Because:
* We want metrics for when a user clicks on this link
* Simplifies glean data attrs because the type is string or undefined, and if this is undefined the attribute does not render
This commit:
* Adds the glean attrs on LinkExternal
* Shares 2fa glean data type with enum for consistency
closes FXA-9578