Skip to content

Instantly share code, notes, and snippets.

@WinstonFassett
WinstonFassett / SketchSystems.spec
Last active November 14, 2020 15:51
Authenticated Connection
Authenticated Connection
Not Connected
connect -> Connecting
Connecting
success -> Authenticating
Authenticating
success -> Connected
Connected
disconnect -> Not Connected
Synchronizer
Initializing
initialized -> Connecting
Connecting
success -> Connected
Connected
Starting Sync
syncing -> Syncing
Syncing
disconnect -> Not Connected
@WinstonFassett
WinstonFassett / SketchSystems.spec
Created November 11, 2020 11:18
Master-Detail Synchronizer
Master-Detail Synchronizer
Initializing
initialized -> Connecting
Connecting
success -> Connected
Connected
Starting Sync
Loading Local
done -> Loading Remote
Loading Remote
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
@WinstonFassett
WinstonFassett / SketchSystems.spec
Last active November 15, 2020 00:28
Online Doc Synchronizer - round 3
Online Doc Synchronizer - round 3
stop -> user_disconnected
restart -> initializing
refresh_token -> getting_token
error -> error
initializing
getting_token
not_authenticated
authenticate -> authenticating
authenticating
@WinstonFassett
WinstonFassett / SketchSystems.spec
Last active November 14, 2020 17:24
token-authentication-machine
token-authentication-machine
unauthenticated
login -> logging_in
checking_for_local_token
no_token -> no_token
got_token -> authenticating_token
has_unauthenticated_token
authenticate_token -> authenticating_token
no_token
login -> logging_in
@WinstonFassett
WinstonFassett / SketchSystems.spec
Created November 15, 2020 00:39
doc-synchronizer
doc-synchronizer
stop -> user_disconnected
restart -> initializing
refresh_token -> getting_token
error -> error
initializing
getting_token
not_authenticated
authenticate -> authenticating
authenticating
@WinstonFassett
WinstonFassett / SketchSystems.spec
Created November 19, 2020 19:38
doc-state-rollup&
doc-state-rollup&
overall
loaders
no_loaders
loading
loaded
loading_timed_out
load_failed
load_error
savers
@WinstonFassett
WinstonFassett / SketchSystems.spec
Created November 28, 2020 22:31
reactive-computed-property
reactive-computed-property
not_initialized
not_initialized_idle
initialize -> initializing
initializing
initialized -> initialized
initialized&
dispose -> disposing
value
empty
splice-machine
retain -> retaining
delete -> deleting
insert -> inserting
idle
retaining
done -> idle
deleting
retain -> splicing
done -> splicing