Skip to content

Instantly share code, notes, and snippets.

@mjbeauregard
Last active June 1, 2018 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjbeauregard/972f8c615201ff5ef2829b08e84e1902 to your computer and use it in GitHub Desktop.
Save mjbeauregard/972f8c615201ff5ef2829b08e84e1902 to your computer and use it in GitHub Desktop.
App*
App*
Logged Out*
Onboarding View*
Page 1
next -> Page 2
Page 2
next -> Page 3
Page 3
next -> Get Started View
Get Started View
start -> Registration View
Registration View
Reg Page 1
First Name Field*
next -> Last Name Field
Last Name Field
next -> Email Field
Email Field
next -> Reg Page 2
Reg Page 2
DoB Field*
next -> Password Field
Password Field
next -> Confirm Password Field
Confirm Password Field
next -> ToS
Enable TouchID
TouchID Disabled*
enable -> TouchID Enabled
TouchID Enabled
disable -> TouchID Disabled
ToS
I agree -> Claim Your Right
Claim Your Right
claim -> Congrats
Congrats
continue -> Dashboard
Login View
Login Email Field*
next -> Login Password Field
Login Password Field
next -> Logged In
Logged In
Dashboard*
Act
Learn
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