Last active
January 6, 2020 03:25
-
-
Save kalyantm/110589c910f7a6664c0090f069e5b05f to your computer and use it in GitHub Desktop.
PWA Login Screen SERP
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
PWA Login Screen SERP | |
Main Page* | |
click login -> Login Modal | |
Login Modal | |
click continue with facebook -> Facebook OAuth Flow | |
focus input email textbox -> Active TextBox | |
focus input password -> Active TextBox | |
click login button -> Try Login Flow | |
Facebook OAuth Flow | |
successful login -> Main Page | |
unsuccessful login -> FailureNotify | |
Active TextBox | |
canceled -> Login Modal | |
typed -> Form Input | |
Form Input | |
typing? -> Text Entry | |
Text Entry | |
done? -> Validate | |
Validate | |
error? -> ValidationErrorNotify | |
no error? -> Login Modal | |
ValidationErrorNotify | |
Loading | |
server accepts data -> Main Page | |
server rejects data -> FailureNotify | |
Try Login Flow | |
form validation successful -> Loading | |
form validation failure -> FailureNotify | |
FailureNotify | |
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