accounts-frontend/packages/app/components/auth
2020-07-22 14:20:10 +03:00
..
acceptRules Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
activation Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
appInfo Rework Button component to pass its label via children content 2020-07-22 14:20:10 +03:00
authError Change prettier rules 2020-05-24 02:08:24 +03:00
chooseAccount Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
finish Rework Button component to pass its label via children content 2020-07-22 14:20:10 +03:00
forgotPassword Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
login Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
mfa Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
password Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
permissions Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
recoverPassword Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
register Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
resendActivation Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
actions.test.ts Change prettier rules 2020-05-24 02:08:24 +03:00
actions.ts Centralize all redux types into one place, add overrides for the connect, useSelector and useDispatch functions 2020-07-22 13:01:12 +03:00
auth.scss Change prettier rules 2020-05-24 02:08:24 +03:00
AuthTitle.tsx Change prettier rules 2020-05-24 02:08:24 +03:00
BaseAuthBody.tsx Change prettier rules 2020-05-24 02:08:24 +03:00
Context.tsx Change prettier rules 2020-05-24 02:08:24 +03:00
factory.tsx Change prettier rules 2020-05-24 02:08:24 +03:00
helpLinks.scss Change prettier rules 2020-05-24 02:08:24 +03:00
index.ts Fix babel warnings about ts types re-export 2019-12-25 12:54:05 +02:00
PanelTransition.tsx Centralize all redux types into one place, add overrides for the connect, useSelector and useDispatch functions 2020-07-22 13:01:12 +03:00
README.md Change prettier rules 2020-05-24 02:08:24 +03:00
reducer.test.ts Change prettier rules 2020-05-24 02:08:24 +03:00
reducer.ts Centralize all redux types into one place, add overrides for the connect, useSelector and useDispatch functions 2020-07-22 13:01:12 +03:00
RejectionLink.tsx Change prettier rules 2020-05-24 02:08:24 +03: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