Skip to content

Instantly share code, notes, and snippets.

@JohnL4
Last active February 15, 2019 20:52
Show Gist options
  • Save JohnL4/6a6bb9f532214d2e166535f8b3fd1096 to your computer and use it in GitHub Desktop.
Save JohnL4/6a6bb9f532214d2e166535f8b3fd1096 to your computer and use it in GitHub Desktop.
System&
System&
Queries
queries submitted -> Queries Out
response received -> Queries Remain?
No Queries*
Queries Out
Queries Remain?
queries remain? -> Queries Out
no queries remain? -> No Queries
Responses
response received -> Responses In
No Responses*
Responses In
Responses Remain?
responses remain? -> Responses In
no responses remain? -> No Responses
Reconciliation&
Reconciliation Ability
Something to Reconcile?
something to reconcile? -> Can Reconcile
nothing to reconcile? -> Cannot Reconcile
Can Reconcile
reconciliation started -> Reconciliation In Progress
Cannot Reconcile*
Partial Reconciliation Right
Partial Reconciliation Right Unchecked*
Has Partial Reconcile Right?
has partial reconcile right? -> Can Reconcile
not has partial reconcile right? -> Cannot Reconcile
Reconciliation Progress
Nothing to Reconcile*
Reconciliation Not In Progress
reconciliation started -> Reconciliation In Progress
Reconciliation In Progress
response accepted -> Responses Remain?
response discarded -> Responses Remain?
let notImpressed = `
Can't say I'm impressed. Can't seem to transition to multiple states as the result
of a single event. So, for instance, if a response is received, we may need to transtion
to two states, depending on whether the incoming response satisfies the last outstanding
query.
This just seems way too complex.
`.trim();
function render(model){
return $("p", {style: {padding: "0 1em"}}, notImpressed)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment