Because:
* The Payment Checkbox used to be part of the PaymentForm component. However, wherever the PaymentForm is used its PaymentCheckbox is currently hidden and not used. This seems to be legacy.
This commit:
* Removes PaymentCheckbox from PaymentForm and all applicable tests and stories.
Closes FXA-6303
Because:
- Want to have the subject for new device login emails read 'New sign-in to your Mozilla account' when an account is signed into directly.
- Want to have the subject for new device login emails read 'New sign-in to $clientName' when an account is signed into from an RP
This Commit:
- Adds the ability to customize the subject text for newDeviceLogin emails.
- Follows the same pattern established by lowRecoveryCodes emails.
Because:
* Customers who have opted out of data collection and use should expect to navigate Subscription Platform without their data being tracked.
This commit:
* Updates the `useReactGA4Setup` to check whether customer has opted in to data collection before initializing.
* Adds related test.
Closes FXA-8639
Because:
* We want to move shared deps to the root package.json
This commit:
* Removes packages from several package.jsons as they are already present in root.json
* Moves @apollo/client to root package.json
Because:
* We want to use the latest graphql dependency
This commit:
* Updates GQL dep and all packages relying on it
* Moves some dependencies to root package.json
* Removes a couple of deps we aren't using
* Addresses breaking changes, updates related tests and mocks
* Fixes type errors
* Prettifies contentful autogenerated files
closes FXA-8489
Co-authored-by: Ben Bangert <100193+bbangert@users.noreply.github.com>
Co-authored-by: Julian Poyourow <julianpoyo@gmail.com>
Co-authored-by: Reino Muhl <reino.muhl@gmail.com>
Because:
* Skip based on environment is not needed since we added a feature flag check
This commit:
* Remove the skip based on production environment
* Standardize check for #root to confirm page is React
Closes #FXA-8543
Because:
- an oauth client id needs to be a 16 digit hex
This commit:
- skips the graphql-api query to fetch an oauth client's info that will
result in an HTTP 400
Because:
* It is difficult to identify when a Stripe API key is no longer valid
This commit:
* Adds an error messsage to service logs on Stripe initialization
* In dev environment auth server propagates Stripe 401 error in response
Closes #FXA-8552
Because:
* Changing showReactApp to false in the URL was resulting in an infinite loop preventing rendering
This commit:
* Always render React app for routes fully turned on in prod and disregard showReactApp param in request
* Update tests
Closes #FXA-8666
Because:
* Rate limiting is not working as expected on this currently unused route
This commit:
* Disable (by commenting out) the GET recoveryKey/hint route and associated tests
* Add comments about intended rate limiting on this route
Closes #FXA-8722
Because:
- We were seeing integration tests failing in unit-test sweets
- This indicates that our we incorrectly targeted tests.
This commit:
- Makes sure that any test suite requiring a server to be started is marked as integration.
- Closes one server that may have been left open.
Because:
- We want to be able to test container components
- We want to establish some patterns around testing container components
This Commit:
- Adds test coverage to signup's container component
- Adds additional comments since this is the first time we are testing a container and some basic patterns are being established.