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

867 Коммитов

Автор SHA1 Сообщение Дата
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
Lauren Zugai b248f24c15
feat(glean): Add 2FA 'these authentication apps' link click event, adjust DataBlock data attrs
Because:
* We want metrics for when a user clicks on this link
* Simplifies glean data attrs because the type is string or undefined, and if this is undefined the attribute does not render

This commit:
* Adds the glean attrs on LinkExternal
* Shares 2fa glean data type with enum for consistency

closes FXA-9578
2024-08-27 10:34:46 -05:00
dependabot[bot] a112b77391
chore(deps-dev): bump @testing-library/dom from 9.3.4 to 10.4.0
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.3.4 to 10.4.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.4...v10.4.0)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 07:03:48 +00:00
Wil Clouser ff8af839fa
refactor(pkgs): Remove unused dependencies 2024-08-08 15:32:19 -07:00
Lauren Zugai c620899a7b
fix(signin): Display Pocket text logo (instead of Pocket logo) for signin
Because:
* We want to display the SVG that has the "pocket" text logo and not just the Pocket logo

This commit:
* Updates the SVG and updates minor styling

fixes FXA-10204
2024-07-30 10:21:57 -05:00
Ben Bangert d39fca36e5
chore: update nx to 19.5.1 and typescript to 5.5.3
Because:

* nx 19.5.1 has been released
* typescript 5.5.3 has been released

This commit:

* updates nx to 19.5.1
* updates typescript to 5.5.3
2024-07-23 22:37:41 +00:00
Lauren Zugai e7649aa571
feat(pair): Add new state for non-Firefox desktop users at pair/unsupported
Because:
* Users on non-Firefox desktop should be shown a more helpful page

This commit:
* Creates a new state on pair/unsupported for non-Firefox, non-Android and non-iOS users to inform them they need to download Firefox to proceed
* Adds cad_redirect_desktop_view and cad_redirect_desktop_download glean events. Ran glean-generate, creating a couple other glean reg.js events

closes FXA-10008
2024-07-03 10:26:26 -05:00
Ben Bangert 39efc8ddf4
chore: update nx to 19.3
Because:

* We want to use the latest version of Nx.

This commit:

* Updates Nx to 19.3.
2024-06-20 17:34:39 +00:00
Valerie Pomerleau eaaa20d11f
fix(storybook): Ensure stories are loading
Because:

* Many stories were not loading

This commit:

* Re-add react import where it was missing

Closes #FXA-9773
2024-06-04 15:56:09 -07:00
Reino Muhl 05d7265292
feat(many): add partial stack startup scripts
Because:

- During development it could be useful to start only parts of the stack
  needed for development on specific domains.

This commit:

- Provides additional stack startup options to only start specific parts
  of the stack, by using nx projects and tags.

Closes #FXA-9771
2024-06-04 11:41:51 -04:00
Reino Muhl 79cc8393ce
Merge pull request #17032 from mozilla/fxa-9559-alias-support
feat(many): add support for libs in webpack apps
2024-06-03 12:43:29 -04:00
Valerie Pomerleau 53a5bf1211
fix(setting): Fix 500 error and infinite spinner on redirects from reset password with code
Because:

* If an email was blocked, following the "Remember your password? Sign in" would result in a 500 error
* Trying to reach confirm_reset_password directly without required location state would result in an infinite loading spinner
* Hard navigating from React to Backbone without search params, a stray ? was included in href

This commit:

* Use the prefillEmail param instead of email when using the "Remember your password? Sign in" link
* When hard navigating, only include the ? if there are params to include
* If confirm_reset_password is accessed without required state, return to index

Closes #FXA-9722
2024-05-30 10:50:07 -07:00
Reino Muhl d078477821
feat(many): add support for libs in webpack apps
Because:

- Could not import libs/* into apps using webpack
- Some apps failed with compilation errors when switching branches
- Imports from libs/assets used relative paths instead of the alias

This commit:

- Adds support for libs/* into apps using webpack
- Replaces all relative paths for libs/assets with the alias

Closes #FXA-9559
Closes #FXA-9313
2024-05-29 16:58:40 -04:00
Lauren Zugai e7e9464258
feat(pair): Display new "Sync your Firefox experience" UI in Backbone
Because:
* We are making a few UX changes to the beginning of the desktop pairing flow

This commit:
* Adjusts the "pair" page when coming from CAD to display a new "Sync your Firefox experience" radio button question
* On selection and submission of this form, conditionally opens FF pair if they already have a mobile device, or displays the mobile QR code if they need to download and then on "continue" opens FF pair
* Adds a back button
* Adds new SVGs, ran through SVGO
* Adds 5x new front-end Glean metrics events

closes FXA-9609
closes FXA-9590
closes FXA-9591
2024-05-22 11:10:04 -05:00
Vijay Budhram 0e2b63d591
feat(react): Add react navigate hook to automatically set query params on navigate 2024-05-08 13:01:46 -04:00
Lauren Zugai 30f11877ca
Merge pull request #16779 from mozilla/FXA-9314-v2
fix(settings): Make nav sticky and highlight based on section in viewport
2024-05-06 09:59:52 -07:00
Lauren Zugai 03231c72ff
fix(settings): Make nav sticky and highlight based on section in viewport
Because:
* This is the intended behavior of our settings nav

This commit:
* Includes CSS tweaks to make the nav sticky on scroll
* Adds an intersection observer and refs for sections and links and conditionally adds our active nav classes on the appropriate link

fixes FXA-9314
2024-05-06 11:15:14 -05:00
dependabot[bot] 621431165f
chore(deps): bump sass-loader from 14.1.0 to 14.2.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 14.1.0 to 14.2.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.2.1)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 06:52:28 +00:00
dependabot[bot] 4b8f353266
chore(deps): bump @babel/preset-typescript from 7.23.3 to 7.24.1
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.23.3 to 7.24.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.1/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 07:06:37 +00:00
dependabot[bot] 3e61dbf07c
chore(deps-dev): bump @babel/plugin-transform-typescript
Bumps [@babel/plugin-transform-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-typescript) from 7.23.6 to 7.24.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-plugin-transform-typescript)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 07:09:44 +00:00
dependabot[bot] a4e8984b1c
chore(deps): bump @babel/core and @types/babel__core
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) and [@types/babel__core](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/babel__core). These dependencies needed to be updated together.

Updates `@babel/core` from 7.22.8 to 7.24.4
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-core)

Updates `@types/babel__core` from 7.1.14 to 7.20.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/babel__core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/babel__core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 18:51:27 +00:00
Reino Muhl e3e2e5027b
chore(nx): Update all nx to 18.3.1
Because:

* Update root and packages to latest nx

This commit:

* Updates all nx to latest version, 18.3.1

Closes #
2024-04-17 13:50:39 -04:00
dependabot[bot] ae93cd1c39
chore(deps): bump @babel/preset-react from 7.23.3 to 7.24.1
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.23.3 to 7.24.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.1/packages/babel-preset-react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 06:52:40 +00:00
dependabot[bot] 86a7c0fb93
chore(deps-dev): bump nx from 18.0.3 to 18.2.4
Bumps [nx](https://github.com/nrwl/nx/tree/HEAD/packages/nx) from 18.0.3 to 18.2.4.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.2.4/packages/nx)

---
updated-dependencies:
- dependency-name: nx
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 08:21:24 -04:00
dependabot[bot] b32e18b6e4
chore(deps-dev): bump postcss-import from 16.0.0 to 16.1.0
Bumps [postcss-import](https://github.com/postcss/postcss-import) from 16.0.0 to 16.1.0.
- [Release notes](https://github.com/postcss/postcss-import/releases)
- [Changelog](https://github.com/postcss/postcss-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-import/compare/16.0.0...16.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 06:20:58 +00:00
Reino Muhl 695d791b15
feat(l10n): add localizer class for payments next
Because:

* Create a localizer class that can be used by payments next react
  server components.
* Only generate fluent bundles once on startup.

This commit:

* Moves logic from Localizer class, defined in
  `fxa-auth-server/lib/l10n/index.ts`, to a LocalizerBase class.
* Adds LocalizerServer class to be used by payments next.
* Moves nestapp from payments-next app to a library

Closes #FXA-8821
2024-03-22 08:58:53 -04:00
Lisa Chan 25bcf355ed
feat(shared-assets): Create library for shared assets 2024-03-20 18:54:49 -04:00
Reino Muhl 87af41143b
Merge pull request #16570 from mozilla/fxa-8823-l10n-scripts-v2
feat(l10n): update l10n ftl scripts for nx apps v2
2024-03-18 11:41:01 -04:00
dependabot[bot] c06b6e9bb7
chore(deps-dev): bump @storybook/addon-actions from 7.6.4 to 8.0.0
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions) from 7.6.4 to 8.0.0.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.0.0/code/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 19:59:41 +00:00
Ben Bangert c23e78eeed
Merge pull request #16563 from mozilla/chore/update-tsconfig-for-node-20
chore: update Node to 20 LTS, TypeScript, tsconfig
2024-03-14 12:56:34 -07:00
Ben Bangert c28b061257
chore: update Node to LTS 20, TypeScript, tsconfig
Because:

* We want to update to Node 20 LTS.
* We want to target the JS output of Node 20.
* We want to use the latest TypeScript 5.4

This commit:

* Updates the Node version to 20 LTS.
* Updates the TypeScript version and related TS libs
  to 5.4.
* Updates tsconfig for the new Node 20 target.
2024-03-14 11:54:20 -07:00
Reino Muhl f80ba7ff45
feat(l10n): update l10n ftl scripts for nx apps v2
Because:

* Fluent ftl files need to be added to apps in the nx apps/ directory.

This commit:

* Updates bundle and prime scripts to support the apps/ directory, without affecting existing packages apps.

Closes #FXA-8823
2024-03-14 10:41:02 -04:00
Reino Muhl a4cb70fa6c
Revert "feat(l10n): update l10n ftl scripts for nx apps" 2024-03-13 15:47:02 -04:00
Dan Schomburg 3f02bd5952
Revert "chore: update node to LTS 20" 2024-03-13 10:00:47 -07:00
Ben Bangert a022106a34
chore: update node to LTS 20
Because:

* We want to use the latest LTS version of node.

This commit:

* Updates the .nvmrc/Dockerfile and package.json
  files to use node 20.
2024-03-12 18:25:24 -07:00
Reino Muhl 50c0e85430
feat(l10n): update l10n ftl scripts for nx apps
Because:

* Fluent ftl files need to be added to apps in the nx apps/ directory.

This commit:

* Updates bundle and prime scripts to support the apps/ directory,
  without affecting existing packages apps.

Closes #FXA-8823
2024-03-07 13:05:29 -05:00
dependabot[bot] 316674eac6
chore(deps-dev): bump @testing-library/dom from 9.2.0 to 9.3.4
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.2.0 to 9.3.4.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.2.0...v9.3.4)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 06:53:32 +00:00
Lauren Zugai 45dfa144ce
perf(content,settings): Remove custom fonts
Because:
* Custom fonts have performance implications, there's a 403 error in content-server regarding fonts, and most importantly these custom fonts have been deprecated in Firefox which we're looking to align our design system to

This commit:
* Removes the custom fonts from content-server and settings
* Updates Storybook accordingly
* Tweaks a couple of third party auth styles

closes FXA-9058
2024-02-20 16:47:07 -06:00
Lisa Chan 0d122cfac0
Merge pull request #16421 from mozilla/dependabot/npm_and_yarn/file-loader-6.2.0
chore(deps): bump file-loader from 4.3.0 to 6.2.0
2024-02-15 08:48:49 -05:00
dependabot[bot] 219951d08d
chore(deps): bump file-loader from 4.3.0 to 6.2.0
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 4.3.0 to 6.2.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v4.3.0...v6.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 06:14:18 +00:00
dependabot[bot] a8a834880b
chore(deps-dev): bump postcss-import from 15.1.0 to 16.0.0
Bumps [postcss-import](https://github.com/postcss/postcss-import) from 15.1.0 to 16.0.0.
- [Release notes](https://github.com/postcss/postcss-import/releases)
- [Changelog](https://github.com/postcss/postcss-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-import/compare/15.1.0...16.0.0)

---
updated-dependencies:
- dependency-name: postcss-import
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 06:13:13 +00:00
Reino Muhl 2df7ca494a
chore(nx): upgrade to nx 18
Because:

* Want to migrate Nx to latest

This commit:

* Migrate nx to 18 using nx cli migrate latest
* Readd a few dev dependancies back into packages/**/package.json
  * Behavior of `npx nx...` commands seems to have changed, resulting in
    multiple "command not found: <library>" errors, where <library>
    refers to libaries used in packages/**/package.json scripts, such as
    tailwindcss, tsc-alias, nx, etc.
* Updates nx cache location for Circle CI

Closes #FXA-8880
2024-02-12 09:01:00 -05:00
Ben Bangert 9126901649
chore: update TS to 5.3.3 and ts-jest
Because:

* We want to keep our dependencies up to date.

This commit:

* Updates TypeScript to 5.3.3 and ts-jest to
  29.1.2.
2024-02-09 15:52:20 -08:00
dependabot[bot] e1f735bcc2
chore(deps): bump @fluent/langneg from 0.6.2 to 0.7.0
Bumps [@fluent/langneg](https://github.com/projectfluent/fluent.js) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/projectfluent/fluent.js/releases)
- [Commits](https://github.com/projectfluent/fluent.js/compare/@fluent/langneg@0.6.2...@fluent/langneg@0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 06:30:18 +00:00
dependabot[bot] 9a6423b739
chore(deps): bump sass-loader from 12.6.0 to 14.1.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 12.6.0 to 14.1.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v12.6.0...v14.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 06:13:11 +00:00
dependabot[bot] 2abe157fb3
chore(deps): bump @babel/preset-react from 7.22.5 to 7.23.3
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.22.5 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-preset-react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 14:38:43 +00:00
dependabot[bot] 97cfb2bf91
chore(deps): bump classnames from 2.3.1 to 2.5.1
Bumps [classnames](https://github.com/JedWatson/classnames) from 2.3.1 to 2.5.1.
- [Changelog](https://github.com/JedWatson/classnames/blob/main/HISTORY.md)
- [Commits](https://github.com/JedWatson/classnames/compare/v2.3.1...v2.5.1)

---
updated-dependencies:
- dependency-name: classnames
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 06:48:10 +00:00
Valerie Pomerleau 131ab6e898
feat(react): Handle email bounces in react signup
Because:

* We are converting the backbone signup flow to react and want to match behaviour for email bounces
* We want to redirect from confirm_signup_code if the email bounced

This commit:

* Add GQL query to poll the db for hard bounces and redirect if a hard bounce was registered for the email
* Create an option for fullPage styling to the LoadingSpinner component

Closes #FXA-8306, FXA-8305
2023-12-20 10:28:06 -08:00
dschom bd7629dc02
task(all): Add support for sentry performance monitoring 2023-12-19 16:05:05 -08:00
dependabot[bot] cc5dec2e21
chore(deps-dev): bump @storybook/addon-links from 7.5.3 to 7.6.4
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) from 7.5.3 to 7.6.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.4/code/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12 06:49:19 +00:00