cal.pub0.org/packages/ui
Agusti Fernandez Pardo f4fe91396f
Improve 2fa: ask for code before account removal and 2fa disabling (#3817)
* fix conflicts

* fix remove separate function and call mutation directly

* feat: add new react-otp-input to enable 2fa flow

* fix: comment out

* fix: remove next-auth 4.9.0 from yarn.lock

* fix: delete account test fill password before submit

* fix: test delete accc

* fix typo in delete acc test

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* feat: remove react-otp-input reuse TwoFactor

* feat: add center props to TwoFactor

* fix: no v2

* feat: disable 2fa requires 2fa api

* feat: make 2fa required to disable 2fa

* fix: FormEvent instead of SyntheticEvent

* fix: types

* fix: move disable 2fa form to fully use RHF

* fix     if (e) e.preventDefault();

* feat: fix remove account

* fix: remove react-otp-input types

* fix: separate onConfirm to add to form handleSubmit

* fix: types e:SyntethicEvent

* fix: types

* fix: import packages lib not web lib

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* fix: no import from web

* fix: import

* fix: remove duplicate FormEvent

* fix: upgrade ErrorCode imports

* fix profile types totpCode not optional

* fix: build pass

* fix: dont touch test delete-account

* fix: type

* fix: add data-testid to password field

* fix: conflicts w syncServices

* Build fixes

* Fixes delete account e2e test

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-31 14:57:53 -06:00
..
apps Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
booker V2 colors - Public Booking (#4022) 2022-08-30 10:56:30 +02:00
form Improve 2fa: ask for code before account removal and 2fa disabling (#3817) 2022-08-31 14:57:53 -06:00
skeleton Prevents undefined classNames in Skeletons 2022-06-27 21:04:10 -06:00
v2 V2 Workflows (#4047) 2022-08-31 13:42:37 -06:00
Alert.tsx Feature/multiple schedules post turbo (#2150) 2022-03-17 09:48:23 -07:00
Badge.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
BooleanToggleGroup.tsx Routing Forms (#2785) 2022-07-14 12:40:53 +00:00
Button.tsx fix add endIconClassName in button (#3893) 2022-08-24 08:37:46 +00:00
ConfirmationDialogContent.tsx V2 Workflows (#4047) 2022-08-31 13:42:37 -06:00
CustomBranding.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
Dialog.tsx Allow scrolling when the dialog exceeds screen height (#3850) 2022-08-15 16:22:58 +00:00
Dropdown.tsx Variables for custom templates in workflows (#3602) 2022-08-03 22:22:38 +00:00
EmptyScreen.tsx minor improvements to routing forms (#3380) 2022-07-15 11:46:05 +00:00
ErrorBoundary.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
Icon.tsx Update V2 components + Move to react-icons (#3670) 2022-08-03 16:01:29 +00:00
Kbar.tsx Update V2 components + Move to react-icons (#3670) 2022-08-03 16:01:29 +00:00
List.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
Loader.tsx Feat/design system (#3051) 2022-07-22 18:39:50 -06:00
Logo.tsx added a few desktop only improvements (#3725) 2022-08-08 13:39:51 -06:00
Shell.tsx V2 Main (#3549) 2022-08-24 14:18:42 -06:00
Switch.tsx eslint react/jsx-curly-brace-presence 2022-07-12 11:52:13 -06:00
Tooltip.tsx kbar follow up (#3361) 2022-07-14 11:32:28 +00:00
index.tsx Update V2 components + Move to react-icons (#3670) 2022-08-03 16:01:29 +00:00
package.json Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
tsconfig.json V2 Main (#3549) 2022-08-24 14:18:42 -06:00