accounts-frontend/src/components/auth
2019-11-27 11:07:02 +02:00
..
acceptRules Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
activation Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
appInfo Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
authError Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
chooseAccount Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
finish Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
forgotPassword Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
login Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
mfa Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
password Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
permissions Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
recoverPassword Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
register Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
resendActivation Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
actions.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
actions.test.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
auth.scss Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
AuthTitle.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
BaseAuthBody.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
factory.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
helpLinks.scss Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
PanelTransition.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
README.md Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
reducer.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
reducer.test.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +02:00
RejectionLink.js Add prettier and re-configure lint according to current best practises 2019-11-27 11:07:02 +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