Skip to content

Instantly share code, notes, and snippets.

@tmbtech
Last active May 9, 2019 16:48
Show Gist options
  • Select an option

  • Save tmbtech/9dfcea24d2aff2f8d6ee1f5c8c23d1f3 to your computer and use it in GitHub Desktop.

Select an option

Save tmbtech/9dfcea24d2aff2f8d6ee1f5c8c23d1f3 to your computer and use it in GitHub Desktop.
Sign Up Flow
Sign Up Flow
Sign up with email and sms
post request -> search for user
search for user
found with email and sms -> fast track
found with email only -> slow track
found with sms only -> slow track
fast track
merge user -> registration page?
registration page?
post request success -> success
post request fail -> fail
slow track
some other step -> registration page?
success
fail
retry -> Sign up with email and sms
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