accounts-frontend/packages/app/components/auth
2019-12-13 09:39:05 +02:00
..
acceptRules Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
activation Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
appInfo Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
authError Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
chooseAccount Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
finish Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
forgotPassword Migrate auth components to new Context api 2019-12-13 09:39:05 +02:00
login Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
mfa Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
password Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
permissions Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
recoverPassword Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
register Fix regressions found by cypress tests 2019-12-07 23:53:22 +02:00
resendActivation Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
actions.test.ts Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
actions.ts Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
auth.scss Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
AuthTitle.tsx Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
BaseAuthBody.tsx Migrate auth components to new Context api 2019-12-13 09:39:05 +02:00
Context.tsx Migrate auth components to new Context api 2019-12-13 09:39:05 +02:00
factory.tsx Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
helpLinks.scss Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
index.ts Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
PanelTransition.tsx Migrate auth components to new Context api 2019-12-13 09:39:05 +02:00
README.md Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
reducer.test.ts Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00
reducer.ts Migrate auth components to new Context api 2019-12-13 09:39:05 +02:00
RejectionLink.tsx Migrate auth components to new Context api 2019-12-13 09:39:05 +02:00

How to add new auth panel

To add new panel you need to:

  • create panel component at components/auth/[panelId]
  • add new context in components/auth/PanelTransition
  • connect component to router in pages/auth/AuthPage
  • add new state to services/authFlow and coresponding test to tests/services/authFlow
  • connect state to authFlow. Update services/authFlow/AuthFlow.test and services/authFlow/AuthFlow.functional.test (the last one for some complex flow)
  • add new actions to components/auth/actions and api endpoints to services/api
  • whatever else you need

Commit id with example implementation: f4d315c