Last active
December 3, 2018 16:39
-
-
Save Sava4/8fe6afd0400d18c906ec3bc6b20022f4 to your computer and use it in GitHub Desktop.
Logged out*
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
| Logged out* | |
| Enter Phone Number -> Try Send SMS | |
| Logged in | |
| Sign out -> Logged out | |
| Debt | |
| Create Debt | |
| Debt Details Input | |
| Check Borrower Phone Number -> Try Send SMS | |
| Borrower Confirm Debt Page | |
| yes -> Confirmed Debt | |
| Confirmed Debt | |
| Returned Debt | |
| SMS | |
| Try Send SMS | |
| Check SMS Gateway -> SMS Gateway Available? | |
| OTP SMS Sent | |
| OTP Password entered -> Logged in | |
| 3 minute passed -> OTP Password invalidated | |
| OTP Password invalidated | |
| New OTP Generated | |
| Retry OTP -> OTP SMS Sent | |
| Send OTP to New Number -> OTP SMS Sent | |
| Sent OTP 10 times to same number -> Number Error | |
| Link SMS Sent | |
| Link followed -> Borrower Confirm Debt Page | |
| 3 minute passed -> Retry Link SMS again | |
| Retry Link SMS again | |
| Retry Link SMS -> Link SMS Sent | |
| Send Link to New Number -> Link SMS Sent | |
| Sent Link SMS 10 times to same number -> Number Error | |
| API | |
| SMS Gateway Available? | |
| API Error -> API Unavailable? | |
| API OK -> SMS Gateway OK | |
| SMS Gateway OK | |
| Send OTP -> OTP SMS Sent | |
| Send Link SMS -> Link SMS Sent | |
| API Unavailable? | |
| Try again OTP -> OTP SMS Sent | |
| Ty again Link SMS -> Link SMS Sent | |
| Tried 5 times? -> API Error Exception | |
| Errors | |
| API Error Exception | |
| Number Error | |
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"}}, | |
| `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