Skip to content

Instantly share code, notes, and snippets.

@apucacao
Last active April 15, 2021 19:57
Show Gist options
  • Save apucacao/652cd320dbae1dcd90511d5ea011d16b to your computer and use it in GitHub Desktop.
Save apucacao/652cd320dbae1dcd90511d5ea011d16b to your computer and use it in GitHub Desktop.
Bulk member invitation form
Bulk member invitation form
Start
enter allowed number of emails -> Ready to save
enter number of emails that exceeds plan limits -> Must upgrade plan
enter number of emails that exceeds subscription limits -> Must upgrade subscription
Must upgrade plan
modify list of emails to within plan limits -> Ready to save
upgrade plan -> Must choose new plan
Must upgrade subscription
modify list of emails to within subscription limits -> Ready to save
click upgrade -> Upgrade pending
dispatch buy_and_invite -> Upgrade pending
Must choose new plan
talk to sales and move to enterprise -> Start
self-serve starter to pro -> Start
Ready to save
click invite -> Invitation pending
Upgrade pending
succeeds -> Upgrade succeeded
fails -> Upgrade failed
Invitation pending
succeeds -> Invitation succeeded
fails -> Invitation failed
Upgrade succeeded
click invite -> Invitation pending
Upgrade failed
reach out to support -> Start
Invitation succeeded
Invitation failed
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