Skip to content

Instantly share code, notes, and snippets.

@iManu
Last active March 5, 2019 07:50
Show Gist options
  • Save iManu/772d735b000d8ca1682a2a78c2a0ef1d to your computer and use it in GitHub Desktop.
Save iManu/772d735b000d8ca1682a2a78c2a0ef1d to your computer and use it in GitHub Desktop.
Pockels App Logic
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
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