Last active
November 19, 2019 19:10
-
-
Save michaloo/6ddb46dc724df760243c3102c3babdd0 to your computer and use it in GitHub Desktop.
Dashboard
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
Dashboard | |
Form Disabled | |
save credentials -> updated settings | |
Form Enabled | |
Install connector -> Stored setupRequired | |
dashboard notified setupRequired | |
disable form -> Form Disabled | |
dashboard notified ok | |
enable form -> Form Enabled | |
Connector | |
connector notified about settings update | |
settings are correct -> ok | |
settings are not correct -> setupRequired | |
setupRequired | |
update platform -> Stored setupRequired | |
ok | |
update platform -> Stored ok | |
Platform | |
updated settings | |
notify connector -> connector notified about settings update | |
Stored setupRequired | |
notify dashboard setupRequired -> dashboard notified setupRequired | |
Stored ok | |
notify dashboard ok -> dashboard notified ok |
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