Last active
June 28, 2019 10:37
-
-
Save pepe/ebba7bd5ab65ebd0d214ad985132b44e to your computer and use it in GitHub Desktop.
Roomstorm Guest Flow
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
Roomstorm Guest Flow | |
Init | |
Bootstrap Location | |
location bootstraped -> | |
Empty Location Search | |
search location -> Predictions | |
click on get your current position -> Consent | |
Consent | |
give consent -> Predictions | |
deny consent -> Empty Location Search | |
Predictions | |
select prediction -> Location Selected | |
click thrash -> Empty Location Search | |
location disabled -> Location Disabled | |
Location Disabled | |
click thrash -> Empty Location Search | |
Location Selected | |
choose people count and check-in -> Booking Information Entered | |
click location -> Predictions | |
click thrash -> Empty Location Search | |
Booking Information Entered | |
click get best vacancies -> Vacancies List | |
click location -> Predictions | |
click thrash -> Empty Location Search | |
Vacancies | |
Vacancies List | |
go back -> Booking Information Entered | |
choose vacancy -> Vacancy Detail | |
Vacancy Detail | |
go back -> Vacancies List | |
choose room -> Vacancy & Room Detail | |
Vacancy & Room Detail | |
go back -> Vacancies List | |
choose room -> Vacancy & Room Detail | |
choose checkout -> Checkout | |
Checkout | |
go back -> Vacancies | |
Add Personal Info | |
fill out name email phone -> Add Payment Info | |
Add Payment Info | |
fill credit card -> Final Summary | |
Final Summary | |
confirm -> Order Created | |
Order Created | |
Showing reservation | |
reserve another -> Init | |
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