Skip to content

Instantly share code, notes, and snippets.

View scvahte's full-sized avatar

Sinisa Cvahte scvahte

  • Croatia
View GitHub Profile
@scvahte
scvahte / SketchSystems.spec
Last active January 27, 2023 13:11
Product availability
Product availability
Portfolio products
Product available
Snooze -> Product unavailable
Product unavailable
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
@scvahte
scvahte / Attention.png
Last active October 4, 2022 07:59
Table states
Attention.png
@scvahte
scvahte / SketchSystems.spec
Last active October 4, 2022 07:57
Table plan
Table plan
Free
View table details -> Table details
Customer opens web order -> Web order
Upcoming bookings in next 3hrs? -> Booked
Occupied
Pay order -> Paid
Customer opens web order -> Web order
View table details -> Table details