Skip to content

Instantly share code, notes, and snippets.

@kamalmarhubi
Created March 23, 2020 01:51
Show Gist options
  • Save kamalmarhubi/876f232beca6a442aec282ed45506038 to your computer and use it in GitHub Desktop.
Save kamalmarhubi/876f232beca6a442aec282ed45506038 to your computer and use it in GitHub Desktop.
# terminated: did not finish survye
# terminated: did not finish survye
# closed: finished survey
# panel: fineshed survey and added to panel
Unassigned*
Open
number pulled -> Pending reach out
Limbo
number pulled -> State?
State?
awaiting reply? -> Awaiting reply
awaiting send? -> Awaiting send
Assigned
Pending reach out
agent signs off -> Open
first message -> Awaiting reply
In conversation
agent signs off -> Limbo
agent times out -> Limbo
Awaiting send
send question -> Awaiting reply
send close -> Closed
Awaiting reply
receive message -> Awaiting send
receive terminating reply -> Terminated
Terminated
Closed
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