Last active
October 8, 2019 11:36
-
-
Save valscion/beeccd898dd535cd9bee3c2425a6b609 to your computer and use it in GitHub Desktop.
Closed*
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
Closed* | |
report anomaly -> Opened | |
Opened | |
close -> Closed | |
Ilmoita muu tilanne* | |
Initial* | |
Asiakkaalle on vastattu toisessa keskustelussa -> Button | |
Tilaisuus on jo raportoitu toisessa keskustelussa -> Button | |
Asiaton kysely tai roskaposti -> Button | |
Muu tilanne mikä? -> Muu tilanne | |
Button | |
Saving* | |
success -> Saved | |
failure -> Failed | |
Saved | |
ready -> Closed | |
selectOther -> Initial | |
# Should we allow a retry in Failed state? | |
Failed | |
selectOther -> Initial | |
Muu tilanne | |
breadcrumb back -> Ilmoita muu tilanne | |
Text area* | |
erase input -> Ready to submit? | |
input -> Ready to submit? | |
Ready to submit? | |
is ready -> Ready | |
not ready -> Text area | |
Ready | |
erase input -> Ready to submit? | |
more input -> Ready to submit? | |
# TODO: Better transition | |
submit -> Closed |
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 <div><h1>The current statee is: {current_state_name}</h1> | |
<button onClick={() => emit(</div> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment