Skip to content

Instantly share code, notes, and snippets.

@edgerunner
edgerunner / SketchSystems.spec
Last active March 17, 2022 11:10
Get File Link
Get File Link
Idle
requestFileLink -> Pending
Pending
HTTP200 -> Success
HTTP400 -> Failure
HTTP401 -> Failure
HTTP403 -> Failure
HTTP404 -> Failure
HTTP5xx -> Retryable
Get File Link
Idle
requestFileLink -> Pending
Pending
HTTP200 -> Success
HTTP400 -> Failure
HTTP401 -> Failure
HTTP403 -> Failure
HTTP404 -> Failure
HTTP5xx -> Retryable
Draggable
Nothing Dragging
pointerdown -> Just Dragging
Just Dragging
pointercancel -> Nothing Dragging
Nothing Droppable
pointerenter -> Just Droppable
pointerup -> Nothing Dragging
Just Droppable
pointerleave -> Nothing Droppable
Word Match
Intro
start -> In progress
In progress
timeout -> Failed
Waiting for Input
enough correct answers -> Passed
no more questions -> Wronged out
start drag -> Dragging
Dragging
@edgerunner
edgerunner / SketchSystems.spec
Last active August 1, 2023 06:36
Confirm calving inline form
Confirm calving inline form
Invisible
confirm calving -> Visible
Visible&
focus elsewhere -> Invisible
Calving time selector
modify calving time -> Modified
Default
Modified
Calf list
Scroll Snap
start scrolling -> Scrolling
# No motion
Rest
# Actively using the scroll mechanism
Scrolling
scrolled past threshold -> Yield
stopped scrolling -> Elastic
SWR&
Data
success -> Fresh
None
Some
Fresh
after stale -> Stale
Stale
Transfer
Pending
SWR&
Data
success -> Fresh
None
Some
Fresh
after stale -> Stale
Stale
Transfer
after stale -> Pending
@edgerunner
edgerunner / SketchSystems.spec
Last active September 22, 2020 12:55
Inflector TR
Inflector TR
a -> B Unrounded
e -> F Unrounded
ı -> B Unrounded
i -> F Unrounded
o -> B Rounded
ö -> F Unrounded
u -> B Rounded
ü -> F Unrounded
Nothing
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions