Last active
March 10, 2020 14:47
-
-
Save kalyantm/f0e7039a4d809886e36c6857f15ed55d to your computer and use it in GitHub Desktop.
Add Phone Number Flow
This file contains hidden or 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
Add Phone Number Flow | |
Add Phone Number | |
add_phone_number -> Verify Phone Number | |
Verify Phone Number | |
resend_code -> Resend Code | |
verify_phone_number -> Verifying Code | |
check_phone_number -> Redirect Phone Number | |
Resend Code | |
success -> Resend Code Success | |
failure -> Resend Code Failure | |
Resend Code Success | |
resend_code -> Resend Code | |
verify_phone_number -> Verifying Code | |
check_phone_number -> Redirect Phone Number | |
Resend Code Failure | |
resend_code -> Resend Code | |
verify_phone_number -> Verifying Code | |
check_phone_number -> Redirect Phone Number | |
Verifying Code | |
success -> Added Phone Number | |
failure -> Verify Phone Number Error | |
Verify Phone Number Error | |
resend_code -> Resend Code | |
check_number -> Redirect Phone Number | |
Added Phone Number | |
add_another_phone_number -> Verify Phone Number | |
Redirect Phone Number | |
phone_number_present -> Added Phone Number | |
no_phone_number_present -> Add Phone Number | |
This file contains hidden or 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