Because:
- When the brand messaging banner is enabled, there's extra white space at the bottom of the doc in the react flows.
This Commit:
- Only applies the extra margin for mobile flows with a sticky banner in the footer.
Because:
* SubPlat currently does not request cookie consent from customers,
therefore Google Analytics should be configured to not use any
cookies.
This commit:
* Sets Google Analytics default consent to denied for all consent types.
* Renames testMode to debugMode, and reassigned it to the gtag
debug_mode option, which is what it was originally intended for.
Closes #FXA-8445
Because:
* Usability of fxa-settings components can be improved in HCM mode
This commit:
* Use currentColor fill and/or stroke for icons in AlertBar, Banner, BentoMenu, BrandMessaging, HeaderLockup to ensure they are visible in Windows HCM
* Add transparent borders to AlertBar, Banner, DataBlock, FlowContainer, Modal, Tooltip component to improve usability in HCM mode
* Wrap tab fence around inner components of AlertBar and Modal to ensure focus outline in HCM is wrapped around component vs small rectangle before inner component
Closes #FXA-7552
Because:
* payments-next heartbeat api returns 500 due to missing config file.
This commit:
* Reorders nest-typed-config loaders so that fileLoader is first, which
results in an empty .env.json file to be included in the
payments-next build.
* Adds normalization step to config loader, for non-string values.
Closes #
Because:
* Need to determine a valid locale configured in Contentful.
This commit:
* Add getLocale method to ContentfulClient to determine locale using
locales available in Contentful and defaulting to 'en' as a fallback.
Closes #FXA-8225
Because:
* The ftl string uses Mozilla instead of the term -brand-mozilla and is causing a linting error
This commit:
* Replaces the string with the correct brand term
Because:
* Taking the user back to the Backbone index page on click of React "Change email" when they had an account in local storage would force a redirect to /signin
This commit:
* Adds a new 'prefillEmail' parameter for the React app to pass back to the Backbone app to signify to Backbone that 'Change email' was clicked
* On the React side, remove existing 'emailFromContent' and 'email' params from link since 'email' alters behavior on the Backbone side and 'emailFromContent' alters behavior on the React side
* On the Backbone side, set this field as a new relier field (typical of how we handle/validate external params), and if it exists on the index page, don't redirect and instead, prefill the email to match parity
fixes FXA-8307
Because:
- We weren't seeing a `flow.confirm_sign_up.brand-messaging-prelaunch-view` metrics on the confirm sign up page
- The signin page would double emit `flow.signin.brand-messaging-prelaunch-view`
This commit:
- Registers the brand-messaging-mixin on the `confirm_signup_code view`.
- Uses `logFowEventOnce` instead of `logFlowEvent` method to emit metric.
Because:
* The value of this key doesn't matter for the purpose of this test.
* This key isn't valid.
* Using a key that looks like a valid key is causing us to get security alerts.
This commit:
* Replaces the key value in the test with a dummy string.
Relates to #FXA-8371
Because:
* We want to send a clearer email when the user changes their account recovery key
* We are updating the content of existing emails for recovery key creation and deletion
This commit:
* Create a new email template for recovery key change
* Update email templates for adding and removing a recovery key
* Add a new partial for recovery key secondary actions
* Remove sign-off in passwordChangeRequired email and update template version
* Enable localization in fxa-auth-server storybooks
* Update POST method to /recoveryKey to send out the new "key changed" email when the key is changed
* Update email tests
Closes #FXA-7669
Because:
* We want to use functions from fxa-shared/l10n in new libs/* libraries
including libs/shared/contentful.
This commit:
* Moves fxa-shared/l10n to libs/shared/l10n
* Updates all references in packages/*
Closes #FXA-8228
Because:
- We want to pin down reports of occasionally unsent emails.
- sendVerifyAccountEmail was written with promise chains
This Commit:
- Adds info log prior to email send, so we know if the email will send code will be triggered
- Adds try catch around sendEmail code so we can monitor any issues
- Converts sendVerifyAccountEmail to an async function to be consistent with other async functions and prevent mixing of patterns
- ensures request.emitMetricEvent events are properly awaited
- ensures glean events are properly awaited
Because:
- There appeared to be invalid html
This Commit:
- Fixes the mismatched <span>Learn more</a> html
- Fixes bad div tag
- Corrects className to be class.
- Adds extra fixes include for brandMessaging. It needs `{{{` not `{{`
Because:
* Not passing query parameters causes OAuth and Sync flows to lose their query params (and context) on signin
This commit:
* Passes params and email param if present back to /signin or /force_auth
fixes FXA-8427