Last active
December 13, 2019 16:50
-
-
Save basham/b81a811b05f86e08e8d8b9d876a343e0 to your computer and use it in GitHub Desktop.
Kiosk System &
This file contains hidden or 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
Kiosk System & | |
Room device | |
# On enter or check in: Refresh QR code. | |
Idle | |
check in with username -> Enter username | |
scan QR code -> Check authentication? | |
Enter username | |
submit -> Select OTP message format | |
cancel -> Idle | |
Select OTP message format | |
email -> OTP message sent? | |
text -> OTP message sent? | |
OTP message sent? | |
yes -> OTP message sent | |
no -> OTP message error | |
OTP message sent | |
student opens message -> Opens message? | |
timeout -> Idle | |
OTP message error | |
retry -> OTP message sent? | |
Student device | |
open Kiosk Student via OneIU -> Check authentication? | |
Logged out | |
log in -> Check authentication? | |
Opens message? | |
click OTP link -> Check authentication? | |
timeout -> Idle | |
Check authentication? | |
pass via OTP link -> Select service | |
pass via QR code link -> Select service | |
pass via OneIU link -> Logged in | |
fail -> Logged out | |
Logged in | |
check in with OTP -> Enter one-time password | |
overview -> Overview | |
checked in -> Checked in | |
history -> History | |
help -> Help | |
log out -> Logged out | |
Overview | |
Checked in | |
change service -> Select service | |
check out -> Reciept email sent? | |
History | |
# Submit issue to kiosk admin | |
Help | |
# Enter the OTP in the email or listed on the kiosk screen. | |
Enter one-time password | |
pass -> Select service | |
fail -> OTP error | |
Select service | |
select -> Checked in | |
cancel while checked in -> Checked in | |
cancel while not checked in -> Overview | |
OTP error | |
retry -> Enter one-time password | |
Reciept email sent? | |
yes -> Overview | |
no -> Overview | |
Admin device | |
all kiosks -> All kiosks | |
All kiosks | |
select kiosk -> Kiosk | |
Kiosk | |
Check in list | |
new check in -> New check in | |
edit check in -> Edit check in | |
bulk edit check in -> Bulk edit check in | |
apply filter -> Check in list | |
select preset -> Check in list | |
group by location -> Check in list | |
group by service -> Check in list | |
group by student -> Check in list | |
select page -> Check in list | |
select student -> Student details | |
New check in | |
success -> Check in list | |
cancel -> Check in list | |
failure -> New check in | |
# Set check in time, check out time, duration, notes. | |
Edit check in | |
success -> Check in list | |
cancel -> Check in list | |
failure -> Edit check in | |
Bulk edit check in | |
success -> Check in list | |
cancel -> Check in list | |
failure -> Edit check in | |
# Summarize check ins. | |
# List requirements. | |
Student details | |
edit check in -> Edit check in | |
back -> Check in list |
This file contains hidden or 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", margin: "1rem"}}, | |
`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
View this statechart at: https://sketch.systems/basham/sketch/b81a811b05f86e08e8d8b9d876a343e0