Because:
- Importing package.json in sentry config files resulted in build
warning 'Should not import the named export'
This commit:
- Add package version as env var added to js bundle by nextjs
Closes #
Because:
* We want to match designs for mobile view
This commit:
* Adjust styling of the NotificationPromoBanner component to support mobile view
* Adjust styling of PageSettings to use a gap between components (removes needs for setting external margins in section components
* Remove stacked banner story, the spacing between the banners is now set at the PageSettings level
* Adds story to PageSettings to show NotificationPromoBanner in context
* Small drive-by tweaks for ltr/rtl
Closes #FXA-10405
Because:
* We are seeing this event fire too many times, reproducible when navigating around Settings
This commit:
* Creates a shared function for PageSettings and ProductPromo to use to conditionally send the Glean ping and render the component as expected
fixes FXA-10403
Because:
- NextActions service methods do not reject on validation failures.
This commit:
- `validateOrReject` returns a promise that needs to be awaited.
Closes #
Because:
* Add a touch of whimsy, standardize image style
* Respect user preference for reduced motion
This commit:
* Add animations for the recovery key flow graphics (password, recovery key, recovery key hint)
* Update images used in recovery key creation flow
* Remove unused images
* Add tailwind utility to stop all svg animations if user prefers reduced motion
Closes #FXA-10205
Because:
* We want to take Sync users to an 'inline' (after login) recovery key setup flow if they don't already have a key
This commit:
* Creates initial components for this flow and adds basic tests and l10n
* Contains some refactoring to share with the download component with Settings
closes FXA-10078
Because:
* We are aligning all graphics to use the same graphic style
This commit:
* Create a react-pdf version of the recovery key graphic
Closes #FXa-10397
Because:
- we run two mysql containers now
This commit:
- updates the `mysql` "script" to connect to the container that's
listening on the default port for mysql
Because:
- the Gecko team want to [remove the webchannel whitelist preference](https://bugzilla.mozilla.org/show_bug.cgi?id=1275612), and
- we want to stop using `general.useragent.compatMode.firefox` to add Firefox/x.y to Thunderbird's user-agent string
This commit:
- changes the user-agent parsing code to detect Thunderbird, and
- uses that to fix a block which breaks webchannels on Thunderbird
Because:
* We want to enable grouping of the automated page load Glean pings, and the default data included all query params in url and generic page title ("Mozilla accounts") for most pings
This commit:
* Sets a custom document title in the Head component
* Override the url provide on page load to glean to only include the pathname (excluding the params allows for easier grouping by route)
* Moves the page load event closer to page rendering for Settings pages, ensuring custom document titles are more reliably included with the pings
* Ensures additional metrics data (including flow id) is included for Settings pages
* Attempted to move the page load event into the AppLayout component for non-settings pages, but this caused a lot if issues for test and storybook mocks. Most non-settings pages do not currently have custom page titles, so there was limited benefit to moving the page load event at the moment.
Closes #FXA-10386
Because:
- Be able to use Sentry in Next.js on both the client and the server
This commit:
- Add Sentry to payments-next using the installation wizard
Closes #FXA-9998
Because:
* This page is confusing and not ideal for our users and we want to render various new UX to help them complete the pair flow
This commit:
* Adjusts 'Pair using an app' screen according to design, only show users this when the URL reflects a state that the user tried pairing with their system camera
* Adds a new 'Connecting your mobile device' state for when mobile users (not through system camera) reach this page, and conditionally renders an alert with 'Download Firefox now' link for iOS and Android if user is not on FF
* Previously, the 'default state' for this page was the system camera screen. This commit adds a new generic error state
* Tweaks pair/failure to match the new style/image, hides "Sign in with email" text if button is not shown
* Adds automatic Glean click events cad_redirect_mobile_download and cad_redirect_mobile_learn_more, adds custom events cad_redirect_mobile_view and cad_redirect_desktop_default_view
closes FXA-10136