accounts-frontend/src/components/auth/README.md

18 lines
630 B
Markdown
Raw Normal View History

2016-08-03 00:29:29 +05:30
# 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 `routes`
2016-11-06 01:53:56 +05:30
* 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`
2016-08-03 00:29:29 +05:30
* whatever else you need
2016-08-03 00:43:11 +05:30
Commit id with example: f4d315c
2016-08-03 00:29:29 +05:30
# TODO
This flow must be simplified