Skip to content

Instantly share code, notes, and snippets.

@Martin-Pitt
Last active August 5, 2018 11:57
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 Martin-Pitt/1d97eb5936dde3c54446b66eb92a75bc to your computer and use it in GitHub Desktop.
Save Martin-Pitt/1d97eb5936dde3c54446b66eb92a75bc to your computer and use it in GitHub Desktop.
Clients
Clients
List*
Client -> Detail
Add -> New Client
Detail
Unchanged*
Blur or close -> List
Edit a field -> Edited Details
Delete and confirm -> List
Edited Details
Save -> Saving Details
Cancel -> Unchanged
Saving Details
Saved -> Unchanged
New Client
Field Entry
Confirm -> Saving New Client
Cancel -> List
Saving New Client
Saved -> List
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