Skip to content

Instantly share code, notes, and snippets.

@droob
Last active April 16, 2019 13:24
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 droob/73da8b61d9ae3b7f14a61238efd8cbec to your computer and use it in GitHub Desktop.
Save droob/73da8b61d9ae3b7f14a61238efd8cbec to your computer and use it in GitHub Desktop.
Storyteller v2
Storyteller v2
Dashboard*
add story -> Edit Story
edit story -> Edit Story
edit submitted story -> Post-Submission
delete story -> Dashboard
view story -> View Story
Edit Story
save -> Edit Story
close -> Dashboard
save & exit -> Dashboard
delete -> Dashboard
preview -> View Story
submit -> Submit Story
View Story
edit -> Edit Story
close -> Dashboard
Submit Story
save -> Submit Story
cancel -> Edit Story
close -> Dashboard
submit -> Post-Submission
Post-Submission
oops -> Submit Story
close -> Dashboard
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