Skip to content

Instantly share code, notes, and snippets.

@kapilreddy
Last active June 18, 2018 15:22
Show Gist options
  • Save kapilreddy/1033bccc79d0c99cd35553eee02a943e to your computer and use it in GitHub Desktop.
Save kapilreddy/1033bccc79d0c99cd35553eee02a943e to your computer and use it in GitHub Desktop.
ABC
ABC
No previous messages
Open chat and Add message -> New Issue
New Issue
Agent sends message -> Issue in progress
User sends message -> New Issue
User deletes thread -> No previous messages
Issue in progress
Agent sends message -> Issue in progress
User sends message -> Issue in progress
Agent resolves issue -> Issue resolved - continuous conv
User deletes thread -> Issue resolved - clean slate
Issue resolved - clean slate
User sends message -> New Issue
Issue resolved - continuous conv
User sends message -> New Issue
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