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

31357 Коммитов

Автор SHA1 Сообщение Дата
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
Reino Muhl 7af8c8270f
Merge pull request #17591 from mozilla/fix-next-version
fix(next): resolve package import version warnings
2024-09-12 09:52:37 -04:00
Jon Buckley 361afb949a
Merge pull request #17590 from mozilla/jbuck-patch-1
fix(docker): Use correct variable for git tag
2024-09-12 09:40:42 -04:00
Reino Muhl 66023d562f
fix(next): resolve package import version warnings
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 #
2024-09-12 09:19:40 -04:00
Jon Buckley 2593a55bc5
fix(docker): Use correct variable for git tag 2024-09-12 08:57:27 -04:00
Barry Chen 5cbed82649
Merge pull request #17566 from mozilla/fix-yarn-mysql
fix(dx): fix the `mysql` yarn command
2024-09-11 14:56:14 -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
Dan Schomburg 32b7ed5bd1
Merge pull request #17580 from mozilla/fix-smoke-tests
remove HTML report job for smoke tests
2024-09-11 14:38:13 -07:00
Valerie Pomerleau 659ff5055c
Merge pull request #17579 from mozilla/FXA-10405
feat(settings): Adjust settings promo banner for mobile
2024-09-11 14:20:12 -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
Ankita Shrivastava 40014719bf
remove HTML report job for smoke tests 2024-09-11 14:51:57 -04: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
Lisa Chan c33d786bc6
Merge pull request #17334 from mozilla/FXA-7579
fix(libs): Add Coupon component
2024-09-11 12:38:53 -04: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
Reino Muhl ed7019cd86
Merge pull request #17575 from mozilla/fix-nextjsactions-validation
fix(payments): failed validation does not reject
2024-09-11 12:06:30 -04:00
Lauren Zugai 8310065e88
Merge pull request #17567 from mozilla/FXA-10403
fix(glean): Conditionally fire promo view event when Settings view event fires
2024-09-11 10:58:26 -05:00
Lisa Chan e66d0a6042
feat(apps/libs): Add CouponForm Component 2024-09-11 11:57:51 -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
Reino Muhl 37dd3db33b
fix(payments): failed validation does not reject
Because:

- NextActions service methods do not reject on validation failures.

This commit:

- `validateOrReject` returns a promise that needs to be awaited.

Closes #
2024-09-11 10:20:40 -04:00
Vijay Budhram 662c8f742b
Merge pull request #17558 from mozilla/fxa-10007
feat(banner): Add Notification Promotion banner component
2024-09-11 10:18:49 -04: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 d2f2537a1f
Merge pull request #17551 from mozilla/FXA-10205
feat(settings): Add CSS animations for recovery key graphics
2024-09-10 21:44:19 -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 156dda25c1
fix(dx): fix the `mysql` yarn command
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
2024-09-10 16:01:06 -05: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
Ankita Shrivastava 032cbe129d
Merge pull request #17537 from mozilla/update-config-to-fix-mergereports
chore(functional_test): update config to run merge reports even when tests fail
2024-09-10 14:41:06 -04: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
Ankita Shrivastava 95f7bd2130
chore(functional_test): update config to merge reports with failed tests 2024-09-10 13:10:02 -04:00
Barry Chen 71babde1b4
Merge pull request #17565 from akkomar/account_pref_event_fix
fix(metrics): Fix names of account_pref 2FA events
2024-09-10 05:58:14 -07: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
Reino Muhl 73bd174c9d
Merge pull request #17550 from mozilla/fxa-9998-add-sentry-payments
feat(next): add sentry to payments-next
2024-09-09 17:25:20 -04: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
Reino Muhl 54fefd2872
feat(next): add sentry to payments-next
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
2024-09-09 13:21:21 -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
Wil Clouser fed43072d3
Merge pull request #17557 from mozilla/dependabot/npm_and_yarn/nestjs/core-10.4.1
chore(deps): bump @nestjs/core from 10.3.4 to 10.4.1
2024-09-09 07:19:26 -07:00
Wil Clouser e65afe473e
Merge pull request #17556 from mozilla/dependabot/npm_and_yarn/type-cacheable/core-14.1.0
chore(deps): bump @type-cacheable/core from 14.0.1 to 14.1.0
2024-09-09 07:18:56 -07:00
dependabot[bot] f70d711845
chore(deps): bump @nestjs/core from 10.3.4 to 10.4.1
Bumps [@nestjs/core](https://github.com/nestjs/nest/tree/HEAD/packages/core) from 10.3.4 to 10.4.1.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.4.1/packages/core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 07:29:52 +00:00
dependabot[bot] 1812a09bb8
chore(deps): bump @type-cacheable/core from 14.0.1 to 14.1.0
Bumps [@type-cacheable/core](https://github.com/joshuaslate/type-cacheable) from 14.0.1 to 14.1.0.
- [Changelog](https://github.com/joshuaslate/type-cacheable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/joshuaslate/type-cacheable/compare/@type-cacheable/core@14.0.1...@type-cacheable/core@14.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 07:29:25 +00:00
julianpoyourow ba65ee49d2
chore(payments): split payments-stripe into payments-customer 2024-09-06 23:00:01 +00:00