Created
January 6, 2021 21:24
-
-
Save ericyd/0f6185730f8c84f3fc09509ce7d2177a to your computer and use it in GitHub Desktop.
User Registration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User Registration | |
User enters phone number -> Send authentication SMS | |
Send authentication SMS | |
User taps authentication link -> Prove checks mobile identity | |
Prove checks mobile identity | |
User is valid -> Registration complete | |
User is invalid -> Error message | |
Error message | |
User enters phone number -> Send authentication SMS | |
User exits registration -> Exit app | |
Registration complete | |
Exit app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment