This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iPhone 5 iOS 10 | |
| Screen Off | |
| home button -> Notifications | |
| top button -> Notifications | |
| Locked | |
| top button -> Screen Off | |
| Notifications |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Egg Timer* | |
| Stopped* | |
| wind forward -> Done? | |
| Ticking | |
| wind forward -> Done? | |
| wind backward -> Done? | |
| tick -> Done? | |
| Done? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Search Bar* | |
| Inactive* | |
| focused -> Active | |
| Active | |
| canceled -> Inactive | |
| typed -> Text Entry | |
| Empty* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # A traffic light | |
| Powered | |
| power failed -> Unpowered | |
| Green* | |
| tick -> Yellow | |
| Yellow | |
| tick -> Red |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SketchSystems Frontend App* | |
| # Fired whenever the URL changes (e.g., browser's back/forward buttons are used, or if someone clicks a link in the UI to navigate to their profile, create a new sketch, etc.) | |
| navigate -> Loading | |
| Error | |
| # All events from this state come from the server, which tells the frontend whether the user is logged in, if they own this sketch, etc. | |
| Loading* | |
| new logged in -> New Logged In |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| View an interactive version of this gist on statepen. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <deps> = node (<'->'> names)? | |
| node = name weight | |
| names = name (<','> name)* | |
| weight = <'('> #"[0-9]+" <')'> | |
| name = #"[A-z]+" |