Last active
March 5, 2019 07:50
-
-
Save iManu/772d735b000d8ca1682a2a78c2a0ef1d to your computer and use it in GitHub Desktop.
Pockels App Logic
This file contains 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
Pockels App Logic | |
open app -> Add color | |
Entity | |
Create | |
is team? -> Create team | |
is project? -> Create project | |
is palette? -> Create palette | |
is color? -> Add color | |
Rename | |
Move | |
Share | |
Copy | |
Import | |
Export | |
Delete | |
Teams | |
Is Teams exists? | |
yes -> Show Teams | |
no -> Create team | |
Show Teams | |
select team -> Is project exists? | |
Create team | |
Projects | |
Is project exists? | |
yes -> Choose project | |
no -> Create project | |
Create project | |
Choose project | |
Palette | |
Create palette | |
Color | |
Add color | |
This file contains 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
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment