Skip to content

Instantly share code, notes, and snippets.

@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
@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 July 7, 2021 10:42
Barn management
Barn management
Initial*
start drag -> Changing
Changing
move to possible -> Possible
move to impossible -> Impossible
move to same -> Same
release -> Initial
Same
Impossible
@edgerunner
edgerunner / SketchSystems.spec
Last active July 5, 2021 21:14
EventStack Event rendering &
EventStack Event rendering &
Stack
Collapsed
# this event can be triggered by clicking on the stack or by opening the related cow preview
expand stack -> Expanded
Expanded
collapse stack -> Collapsed
expand another stack -> Collapsed
@edgerunner
edgerunner / SketchSystems.spec
Last active December 9, 2020 09:41
QuickThaw UI
QuickThaw UI
Login
Pending login
correct token -> Logged in
incorrect token -> Login
Login request
submit login request -> Manual token
Manual token
manual token entered -> Pending login
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