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

544 Коммитов

Автор SHA1 Сообщение Дата
Lauren Zugai d722c1f7eb
feat(ux): Update 2fa signin screens/reset PW copy, create HeadingPrimary
Because:
* We are prepping for SMS work and want to make some small UX improvements

This commit:
* Creates HeadingPrimary for our grey h1 text at the top of our flows that we are moving towards
* Updates copy and styling for 2FA signin and reset password

closes FXA-10210
2024-11-14 15:47:07 -06:00
Valerie Pomerleau 7745fe4875
feat(settings): New banner component with updated styling
Because:

* We are updating the design of all banners
* We are also updating the alertBar styling

This commit:

* Add new Banner component and delete the previous version (now unused)
* Add new icon components needed for banner and make small tweaks to existing icons, ensure all minified with .min extension
* Replace Image used in SigninTokenCode, ConfirmSignupCode, SigninUnblock (use EmailCodeImage instead of MailImage which referenced an emailed link)
* Update alertBar component, add stories, update tests
* Update components and pages that use the Banner component
* Update tests and stories

Issue #FXA-9714
2024-11-05 16:41:03 -08:00
Vijay Budhram 1b5f4cdf6f
feat(tests): Add functional test for inline totp setup 2024-10-25 12:05:51 -04:00
Vijay Budhram 3d93105d67
feat(tests): Add functional tests for relay 2024-10-23 13:03:19 -04:00
Vijay Budhram 4f71490f95
fix(tests): Add Sync OAuth to playwright and update tests 2024-10-23 11:03:51 -04:00
Vijay Budhram 8364d55f01
feat(2fa): Add metrics for 2FA password reset, add `use different account` link 2024-10-18 14:47:39 -04:00
Dan Schomburg 654ceecfd0
Merge pull request #17766 from mozilla/fix-dropped-rows-on-pw-upgrade
bug(auth): Prevent password upgrade from dropping assocaited rows
2024-10-14 09:58:22 -07:00
Barry Chen 2e071fa31e
fix(password reset): stop prompting for unverified 2fa during reset
Because:
 - when an account has an unverified 2fa and the user opt to not use the
   recovery key, we should not prompt for the TOTP during password reset

This commit:
 - ensures that 2fa is enabled, exists and verified, for the account
2024-10-14 09:46:36 -05:00
Barry Chen b44aaba5a0
feat(password reset): generate new recovery key after reset
Because:
 - we want to automatically generate a new recovery key for the account
   when the previous one was used for a password reset so that the user
   does not need to do it manually

This commit:
 - generates a new recovery key and present it to the user if a recovery
   key was used during a password reset
2024-10-10 20:51:19 -05:00
Valerie Pomerleau 21aa85d7ba
feat(settings): Redirect to relying party after password reset
Because:

* We want to redirect to relying party after successful password reset
* We want to handle cases where the RP requires totp (after password reset)
* Handle totp verification after password reset

This commit:

* Update styling of the ResetPasswordConfirmed component
* Add container component to ResetPasswordConfirmed to handle navigation to relying party and/or unverified session state after password reset
* Handle TOTP required error on retrieving oauth redirect
* Ensure signin after password reset continues to work for web and sync integrations, with or without verified session
* Update functional tests

Closes #FXA-9561
2024-10-09 13:56:41 -07:00
Vijay Budhram 2ded7a7250
Merge pull request #17787 from mozilla/fxa-9352-v4
feat(totp): Add frontend 2FA before password reset screens
2024-10-09 07:47:42 -04:00
Vijay Budhram aa712ec7cf
feat(totp): Add frontend 2FA before password reset screens 2024-10-09 00:21:03 -04:00
Valerie Pomerleau 52b9e4eec8
fix(settings): Update reset password warning message
Because:

* We want to clarify some of the reset password warning wording
* We want to provide a link back to account_recovery_confirm_key on the complete_reset_password page when the user ininitially chooses not to use their key
* We want to show a warning message if we can't determine if the user has a recovery key (instead of an error)
* Also show the warning to users signing in to sync, even if they don't have actively synced devices (signing out from sync removes the device from estimated device count, but does not mean the user does not have synced data)

This commit:

* Update warning message and associated l10n, stories, tests
* Update CompleteResetPassword page to add link conditionally
* Some styling tweaks

Closes #FXA-10483
2024-10-08 09:27:43 -07:00
dschom 3dba0427cf
bug(auth): Prevent password upgrade from dropping associated rows 2024-10-07 17:08:35 -07:00
Dan Schomburg 784980dc8f
Merge pull request #17722 from mozilla/FXA-10404
bug(settings): Fix bug in handle window focus where apollo cache could be empty
2024-10-02 09:13:15 -07:00
Barry Chen 815bb015c5
Merge pull request #17734 from mozilla/FXA-9560-sign-in-users-after-reset
Log account in and navigate to /settings after password reset
2024-10-01 12:02:49 -07:00
Valerie Pomerleau f07863de87
Merge pull request #17723 from mozilla/FXA-10475
feat(settings): Update copy and styling of initial reset password page
2024-10-01 11:30:21 -07:00
Barry Chen 19fe669101
feat(password reset): log user in post-password-reset
Because:
 - the user could have a verified session after successfully resetting
   their password for an account

This commit:
 - logs the account in and take the user to /settings if the session is
   verified and the user did not use a recovery key during the reset
2024-10-01 11:10:31 -07:00
Vijay Budhram 02c1fca083
Merge pull request #17721 from mozilla/fxa-9546
feat(totp): Update TOTP signin screens
2024-10-01 10:17:25 -04:00
dschom 667f16a223
bug(settings): Fix bug in handle window focus where apollo cache could be empty
Because:
- We have an unhandled exception being reported when a window changes focus on the /settings page and an account cannot be located in the apollo client cache
This Commit:
- Improves robustness of the handleWindowFocus routine
- Accounts for the possibility that the apollo cache could empty
- Accounts for the possibility that local storage could have been cleared
- Allows apolloClient to run in ‘dev’ mode for local development, which lets us introspect the cache using apollo dev tools and access the current apollo client in functional tests.
2024-09-27 16:30:26 -07:00
Valerie Pomerleau 8df4df738e
feat(settings): Update copy and styling of initial reset password page
Because:

* Page was redesigned, needs new strings and left-alignment

This commit:

* Update copy, l10n, styling and tests for the initial reset password page

Closes #FXA-10475
2024-09-27 16:12:25 -07:00
Vijay Budhram 7032326f7e
feat(totp): Update TOTP signin screens 2024-09-27 15:27:36 -04:00
Lauren Zugai 29c9818bb0
task(CAD): Update 'Start browsing' to 'Manage your account'
Because:
* 'Start browsing' is confusing since it takes users to account settings

This commit:
* Updates the copy to 'Manage your account'

fixes FXA-10376
2024-09-26 16:38:01 -05:00
Valerie Pomerleau e57626ef20
feat(settings): Enable collapsing/expanding reset password warning
Because:

* We want to collapse the warning message on mobile by default to preserve real estate

This commit:

* Move the warning into a separate component
* Convert to use the details/summary elements
* Styling tweaks
* Copy updates to match latest design for complete reset password
* Remove unused old version of WarningMessage

Closes #FXA-10459
2024-09-26 10:22:20 -07:00
Vijay Budhram fcb5370770
feat(cad): Fast follows to CAD/pair redirects
This commit:
* Tweaks the 'Signed in successfully' success banner image/spacing/conditional display
* Redirects signed-in desktop CAD users to /pair
* Redirects end flow of inline recovery key to /pair
* Updates some tests to waitForURL due to some local flakiness

fixes FXA-10466

Co-authored-by: Lauren Zugai <lauren@zugai.com>
2024-09-26 11:01:27 -05:00
Vijay Budhram 6d3edcf39a
Merge pull request #17660 from mozilla/FXA-10138
feat(pair/CAD): Implement signed-in '/connect_another_device' and '/pair' mods + redirects
2024-09-25 12:57:40 -04:00
Valerie Pomerleau e0fd703598
Merge pull request #17695 from mozilla/FXA-10071
update reset password button copy
2024-09-25 09:54:27 -07:00
Lauren Zugai 4c107ce846
feat(pair/CAD): Implement signed-in '/connect_another_device' and '/pair' mods + redirects 2024-09-25 12:24:27 -04:00
Valerie Pomerleau b27d3cb91d
update reset password button copy 2024-09-25 09:16:33 -07:00
Valerie Pomerleau f3dd501a06
cleanup(many): Remove feature flags for reset password with code
Because:

* Reset password with code is now fully rolled out

This commit:

* Remove functional tests for reset password with link
* Remove config check for resetPasswordWithCode flag in functional-tests
* Remove content-server resetPasswordWithCode feature flag/env
* Remove auth-server passwordForgotOtp.enabled config

Closes #FXA-9728, FXA-10387
2024-09-25 08:41:34 -07:00
Dan Schomburg b327092b7e
Merge pull request #17605 from mozilla/FXA-7896
task(settings): Display password requirements inline
2024-09-25 08:29:27 -07:00
dschom 9529c2975f
revision 1
This commit should be squashed!
2024-09-24 18:35:50 -07:00
dschom 0c6c7807f6
task(settings): Display password requirements inline and update warning copy
Because:
- We are improving UX
- Balloon UI pattern were problematic on mobile
- We have updated copy / mesaging about password resets

This Commit:
- Adds new components that dispay password criteria inline
- Removes info about passwords and encryption
- Adds in new copy informing users about password resets
- Updates tests to check for appropriate copy
2024-09-24 08:45:52 -07:00
Valerie Pomerleau b141e9b3cd
fix delete button stuck in loading state 2024-09-23 14:00:09 -07:00
Valerie Pomerleau 3796159aac
feat(settings): Update AccountRecoveryConfirmKey to new design with hint
Because:

* We are updating the design of the AccountRecoveryConfirmKey page
* We want to show the storage hint that users have had the option of saving

This commit:

* Update AccountRecoveryConfirmKey page content, l10n, stories, test

Closes #FXA-7894
2024-09-23 14:00:09 -07:00
Vijay Budhram f648a8d356
fix(tests): Skip Chrome when doing Sync base test 2024-09-23 10:50:58 -04:00
Vijay Budhram 1e54de0d87
Merge pull request #17637 from mozilla/fxa-10081
feat(tests): Add functional test for inline recovery key and settings promo
2024-09-20 16:06:16 -04:00
Vijay Budhram dd5969eb7a
feat(tests): Add tests for inline recovery key and settings promo 2024-09-20 15:22:44 -04:00
Ankita Shrivastava 00bc5d2fcb
Merge pull request #17628 from mozilla/run-tests-in-chromium
chore(functional_test): run playwright functional tests in chromium browser
2024-09-20 14:14:23 -04:00
Lauren Zugai 7e12934c39
feat(recovery-key): Make inline recovery key flow functional + navigate desktop Sync signins
Because:
* We want to encourage Sync signin users to create an account recovery key

This commit:
* Moves and refactors part of FlowRecoveryKeyHint into new component for sharing
* Sets ups the create recovery key and hint handlers in container component, call where needed
* Queries if recovery key exists after signin if sync, stores PW-related data into sensitiveDataClient
* Navigates signing in desktop Sync flow users without a recovery key to this new flow before taking them to CAD, if the feature flag is on

closes FXA-10079
2024-09-20 10:36:56 -05:00
Ankita Shrivastava 18bd695cc8
chore(functional_test): run playwright functional tests in chromium browser 2024-09-20 11:08:15 -04:00
Dan Schomburg 454fc0469e
Merge pull request #17447 from mozilla/syncstorage-rs
task(all): Get new syncstorage-rs service running
2024-08-27 17:24:43 -07:00
dschom a3ae0fe74a
task(all): Get new syncstorage-rs service running
Because:
- Locally the sync service wasn't running.
- We couldn't test sync flows against a local sync server
- There's a new version of the sync server that uses rust

This Commit:
- Sets up a dockerfile for syncstorage-rs that is tailored to fxa's local stack
- Updates pm2 sync job to run this docker container and initialize its databases.
- Updates firefox config/profile to point at this service
- Starts firefox up with the FIREFOX_DEBUGGER=true env.
  - Useful for debugging sync
  - Useful for debugging FxA web channel messages
2024-08-27 09:57:20 -07:00
dschom 3f4b5586c6
task(functional-tests): Reneable skipped key stretching tests 2024-08-09 16:11:09 -07:00
Lauren Zugai f3e9e0b899
Merge pull request #17350 from mozilla/FXA-10220
feat(settings): Update account preferences help link, add Glean click event
2024-08-08 10:04:19 -05:00
Ankita Shrivastava a1d2d088d2
Merge pull request #17323 from mozilla/add-reportSlowTest
chore(functional_tests): add reportSlowTest in the config file
2024-08-07 15:37:57 -04:00
Ankita Shrivastava 897076f5fc
chore(functional_tests): add reportSlowTest in the config file 2024-08-07 15:08:26 -04:00
Lauren Zugai cfcc96394b
feat(settings): Update account preferences help link, add Glean click event
Because:
* Accounts has its own dedicated help link we should use instead
* We want a metrics event for when users click on this link

This commit:
* Updates the link and adds the Glean event

closes FXA-10220, closes FXA-10221
2024-08-07 12:14:12 -05:00
dschom 8e9b5ca681
task(settings,functional-tests): Review use of webchannel messages
Because:
- We noticed that some of the usage for webchannels was inconsistent.
- Of the web channel messages we send only FxAStatus and LinkAccount actually return responses.

This Commit:
- Removes implied response from the fxaLogin command that wasn't actually sent by firefox.
- Updates the functional tests to better reflect the actual commands and responses sent by firefox by creating some types. This should avoid mistakes
2024-08-07 10:05:24 -07:00
dschom 8a5ac33934
task(functional-tests): Add missing licenses 2024-08-02 15:55:35 -07:00