Граф коммитов

23961 Коммитов

Автор SHA1 Сообщение Дата
Valerie Pomerleau 67db76983c
Merge pull request #17594 from mozilla/FXA-10419
fix(settings): Fix recovery key animations and styling
2024-09-12 16:08:23 -07:00
Valerie Pomerleau a35c91da3b
Merge pull request #17583 from mozilla/FXA-10391
cleanup(settings): Remove unused reset password with link
2024-09-12 15:55:47 -07:00
Valerie Pomerleau b77411ad74
fix(settings): Fix recovery key animations and styling
Because:

* Animations were working in storybook but not on stage due to CSP that blocked the global style tags in the svgs
* UX recommended edits to the recovery key PDF illustrations

This commit:

* Add animations and keyframes to tailwind config
* Use these animations in the SVGs
* Update recovery key pdf SVG

Closes #FXA-10419
2024-09-12 15:02:03 -07:00
Wil Clouser e34a329f85
Merge pull request #17593 from mozilla/20240912-remove-delete-endpoint
feat(secevents): remove DELETE endpoint
2024-09-12 12:24:28 -07:00
Wil Clouser 07751c5fc1
feat(secevents): remove DELETE endpoint
Because:

* We no longer support this endpoint

This commit:

* Removes the endpoint
2024-09-12 10:54:50 -07:00
dependabot[bot] ce82d09462
chore(deps): bump the npm_and_yarn group with 3 updates
Bumps the npm_and_yarn group with 3 updates: [postcss](https://github.com/postcss/postcss), [express](https://github.com/expressjs/express) and [serve-static](https://github.com/expressjs/serve-static).


Updates `postcss` from 8.4.43 to 8.4.44
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.43...8.4.44)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

Updates `serve-static` from 1.14.2 to 1.16.0
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.14.2...1.16.0)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: serve-static
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 16:11:41 +00:00
Valerie Pomerleau f0bb1b8001
cleanup(settings): Remove unused reset password with link
Because:

*

This commit:

*

Closes #
2024-09-11 18:07:47 -07:00
Dan Schomburg 6ce4dba247
Merge pull request #17578 from mozilla/dependabot/npm_and_yarn/npm_and_yarn-2732b03f44
chore(deps): bump the npm_and_yarn group with 3 updates
2024-09-11 14:43:05 -07:00
Valerie Pomerleau 3b6bf708a8
feat(settings): Adjust settings promo banner for mobile
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
2024-09-11 13:48:07 -07:00
dependabot[bot] 6d19636775
chore(deps): bump the npm_and_yarn group with 3 updates
Bumps the npm_and_yarn group with 3 updates: [postcss](https://github.com/postcss/postcss), [express](https://github.com/expressjs/express) and [body-parser](https://github.com/expressjs/body-parser).


Updates `postcss` from 8.4.42 to 8.4.43
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.42...8.4.43)

Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0)

Updates `body-parser` from 1.20.1 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.1...1.20.3)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: body-parser
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 18:00:14 +00:00
Vijay Budhram a4e178197e
Merge pull request #17576 from mozilla/fxa-10394
feat(banner): Add Notification Promotion metrics
2024-09-11 12:38:36 -04:00
Vijay Budhram 0629520257
feat(banner): Add Notification Promotion metrics 2024-09-11 11:35:17 -04:00
Lauren Zugai eac5184264
fix(glean): Conditionally fire promo view event when Settings view event fires
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
2024-09-11 10:08:22 -05:00
Vijay Budhram 318cfca9ac
feat(banner): Add Notification Promotion banner component 2024-09-11 09:44:47 -04:00
Valerie Pomerleau 4a3a4f9867
Merge pull request #17568 from mozilla/FXA-10397-react-pdf-svg
feat(settings): Update recovery key pdf illustration
2024-09-10 21:44:52 -07:00
Valerie Pomerleau c4533f8665
feat(settings): Add CSS animations for recovery key graphics
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
2024-09-10 21:31:28 -07:00
Lauren Zugai 1bbf07d1d0
Merge pull request #17541 from mozilla/FXA-10078
feat(recovery-key): Create initial components for inline recovery key setup flow
2024-09-10 19:27:50 -05:00
Lauren Zugai 2f0ad888f8
feat(recovery-key): Create initial components for inline recovery key setup flow
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
2024-09-10 18:53:57 -05:00
Valerie Pomerleau be64f02ab3
feat(settings): Update recovery key pdf illustration
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
2024-09-10 16:25:18 -07:00
Valerie Pomerleau 31001f565e
Merge pull request #17524 from mozilla/FXA-10386
fix(settings): Improve value of extra data included with automated Glean page load pings
2024-09-10 14:33:59 -07:00
Barry Chen 50e88d0431
Merge pull request #17528 from mozilla/tb-strigify-webchannel
Stringify webchannel event details on Thunderbird as well as Firefox
2024-09-10 13:33:42 -07:00
Geoff Lankow e2fef1e3f5
fix(webchannel): stringify webchannel event details on Thunderbird as well as Firefox
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
2024-09-10 13:00:47 -05:00
Arkadiusz Komarzewski 4df88bf592
fix(metrics): Fix names of account_pref 2FA events 2024-09-10 11:36:42 +02:00
Vijay Budhram 023e6f52b1
Merge pull request #17539 from mozilla/fxa-10006
feat(recoveryKey): Add `estimatedSyncDeviceCount` to graphql account resolver
2024-09-09 21:51:35 -04:00
Vijay Budhram c32e74c82f
feat(recoveryKey): Add `estimatedSyncDeviceCount` to graphql account resolver 2024-09-09 21:19:14 -04:00
Valerie Pomerleau 3dac422c5d
fix(settings): Update url passed to Glean page load metrics and include customized document titles
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
2024-09-09 16:37:57 -07:00
Julian Poyourow ea092073ba
Merge pull request #17548 from mozilla/fxa-10188
chore(payments): split payments-stripe into payments-customer
2024-09-09 13:29:26 -07:00
Vijay Budhram b68c8d57e2
Merge pull request #17549 from mozilla/fxa-9764
fix(logs): Adds some additional logging for security events and catch exceptions
2024-09-09 13:46:32 -04:00
Lauren Zugai d30c7e7be3
Merge pull request #17517 from mozilla/FXA-10136
feat(pair): Create various UX for pair/unsupported
2024-09-09 10:56:56 -05:00
Lauren Zugai b2c653274c
feat(pair): Create various UX for pair/unsupported
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
2024-09-09 10:23:15 -05:00
julianpoyourow ba65ee49d2
chore(payments): split payments-stripe into payments-customer 2024-09-06 23:00:01 +00:00
Vijay Budhram 9cc177b5c8
fix(logs): Adds some additional logging for security events and catch exceptions 2024-09-06 14:21:46 -04:00
dependabot[bot] c092779cc5
chore(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.30.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.3 to 2.30.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.30.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 07:13:36 +00:00
Bryan Olsson 58f8e720b2
Merge pull request #17540 from bcolsson/fxa-push-termfix
chore(l10n): Replace hardcoded Firefox with brand term
2024-09-05 23:08:45 -07:00
Bryan Olsson 5b956291a4
chore(l10n): Replace hardcoded Firefox with brand term
Because:

* A string landed with a hard coded brand term for Firefox

This commit:

* Replaces the hardcoded string with the correct brand term
2024-09-05 14:31:16 -07:00
Reino Muhl 7bed17ba8e
fix(auth): missing profile client references
Because:

- Some code was still referencing the auth-server profile client

This commit:

- Update code to reference the profile client library

Closes #FXA-10389
2024-09-05 17:02:32 -04:00
Vijay Budhram 788bf5b514
Merge pull request #17535 from mozilla/fxa-10077
feat(sync): Add initial feature flag for setting up recovery code after Sync sign-in
2024-09-05 14:00:02 -04:00
Reino Muhl 6c843bd846
Merge pull request #17521 from mozilla/fxa-9274-profile-client-lib
feat(libs): move profile client to libs
2024-09-05 13:20:51 -04:00
Vijay Budhram 698ccb92bc
feat(sync): Add initial feature flag for setting up recovery code after Sync sign-in 2024-09-05 11:26:58 -04:00
dependabot[bot] 72a4cd7bb6
chore(deps): bump @emotion/react from 11.11.1 to 11.13.3
Bumps [@emotion/react](https://github.com/emotion-js/emotion) from 11.11.1 to 11.13.3.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/react@11.11.1...@emotion/react@11.13.3)

---
updated-dependencies:
- dependency-name: "@emotion/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 06:55:18 +00:00
dependabot[bot] 2e230d2365
chore(deps): bump the npm_and_yarn group with 3 updates
Bumps the npm_and_yarn group with 3 updates: [jose](https://github.com/panva/jose), [postcss](https://github.com/postcss/postcss) and [webpack](https://github.com/webpack/webpack).


Updates `jose` from 5.7.0 to 5.8.0
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/panva/jose/compare/v5.7.0...v5.8.0)

Updates `postcss` from 8.4.41 to 8.4.42
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.41...8.4.42)

Updates `webpack` from 5.89.0 to 5.94.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0)

---
updated-dependencies:
- dependency-name: jose
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: postcss
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: webpack
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-04 20:27:44 +00:00
Reino Muhl 10e00b6456
feat(libs): move profile client to libs
Because:

- Only have one implementation of a profile server client, instead of
  various implementations in the services where its required.

This commit:

- Moves the profile client implementation from auth-server and into a
  dedicated library in libs

Closes #FXA-9274
2024-09-04 15:11:54 -04:00
Barry Chen d9d286a7a9
fix(build): correct the cdn url in settings build for prod 2024-09-04 12:15:56 -05:00
Barry Chen 85d94551dd
fix(Glean): use the configured app channel for Glean in Settings
Because:
 - Glean in Settings was initialized with the default "development"
   value

This commit:
 - uses the actual configuration value for the app channel
2024-09-03 17:22:31 -05:00
Vijay Budhram 6f4aa7a45c
Merge pull request #17493 from mozilla/update-push-ux
Add verify and confirm 2FA via push screens
2024-09-03 14:17:44 -04:00
Vijay Budhram 35b0311355
feat(auth): Update 2FA screens 2024-09-03 13:37:49 -04:00
dependabot[bot] 60e4ae8f23
chore(deps): bump googleapis from 135.1.0 to 143.0.0
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 135.1.0 to 143.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/release-please-config.json)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/googleapis-v135.1.0...googleapis-v143.0.0)

---
updated-dependencies:
- dependency-name: googleapis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 07:21:38 +00:00
dschom cbe87a79f7
task(auth,graphql,profile): Make sure profile cache is cleared before sending profile update event. 2024-08-29 18:56:04 -07:00
Dan Schomburg 16543e3404
Merge pull request #17500 from mozilla/use-cdn-for-ftl-files
task(content,settings): Reference l10n files on CDN
2024-08-29 11:50:41 -07:00
Vijay Budhram 433b004d74
Merge pull request #17478 from mozilla/fxa-10320
feat(auth): Update 2FA via push backend api
2024-08-29 13:24:58 -04:00