Last active
August 25, 2021 21:54
-
-
Save esmevane/5bfa1fd390e16997b7f1ae7243c6e596 to your computer and use it in GitHub Desktop.
App
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
App | |
Checking Credentials | |
Identity Present -> Home Page | |
Identity Absent -> Registration | |
Registration | |
Check for Identity Info | |
Identity Info Present -> Registration Credentials Form | |
Identity Info Absent -> Identity Info Form | |
Identity Info Form | |
Input Identity Info -> Validating Identity Info | |
Validating Identity Info | |
Invalid Identity Info -> Invalid Identity Form | |
Valid Identity Info -> Valid Identity Form | |
Valid Identity Form | |
Submit Identity Info -> Submitting Identity Form | |
Submitting Identity Form | |
Successfully Submitted Identity -> Registration Credentials Form | |
Identity Submission Error -> Error Identity Form | |
Invalid Identity Form | |
Error Identity Form | |
Registration Credentials Form | |
Input Login Creds -> Validating Login Creds | |
Validating Login Creds | |
Invalid Login Creds -> Invalid Login Form | |
Valid Login Creds -> Valid Login Form | |
Invalid Login Form | |
Valid Login Form | |
Submit Login Info -> Submitting Login Form | |
Submitting Login Form | |
Successfully Logged In -> Home Page | |
Unsuccessful Log In -> Error Login Form | |
Error Login Form | |
Home Page | |
Log Out -> Checking Credentials |
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", margin: '2em' }}, | |
`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