Created
July 13, 2018 16:10
-
-
Save tmbtech/39594f2b10e97e9e8b404adfabb3e491 to your computer and use it in GitHub Desktop.
Team Alerts Flow
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
Team Alerts Flow | |
Favorite Team | |
Select Fav Team -> Move team to Active Teams section and opt-in NewsHighlights Game Start and Final Score alerts for team | |
Move team to Active Teams section and opt-in NewsHighlights Game Start and Final Score alerts for team | |
Deselect Fav Team -> Do nothing | |
Do nothing | |
All Teams | |
Opt-in team alert -> Move team to Active Teams section | |
Move team to Active Teams section | |
Opt-out all alerts for team -> Move team to Teams section | |
Move team to Teams section |
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