Skip to content

Instantly share code, notes, and snippets.

@devinhalladay
Last active July 7, 2021 23:26
Show Gist options
  • Save devinhalladay/6997ef0b698cb6f848cc86d9f6f45d6d to your computer and use it in GitHub Desktop.
Save devinhalladay/6997ef0b698cb6f848cc86d9f6f45d6d to your computer and use it in GitHub Desktop.
Individual Service
Individual Service
TimeTable*
Today
Future
SlotsForProvider
Select Slot -> SlotProvidersModal
Remove Filter -> TimeTable
Next Date -> Future
Previous Date -> Today
Filter Providers -> ProviderIndexModal
Display Calendar -> CalendarModal
Select Slot -> SlotProvidersModal
Modals
ProviderIndexModal
Select Provider -> SlotsForProvider
SlotProvidersModal
Change Slot -> TimeTable
Select Provider -> ReviewModal
CalendarModal
Select Date -> Future
ReviewModal
Reviewing*
Change Slot -> TimeTable
Change Provider -> SlotProvidersModal
Add to Cart -> CartSuccess
CartSuccess
Book Again -> TimeTable
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