Skip to content

Instantly share code, notes, and snippets.

@vputz
Created July 1, 2022 12:13
Show Gist options
  • Save vputz/5e379c465e82d38d21fc49d213e130ca to your computer and use it in GitHub Desktop.
Save vputz/5e379c465e82d38d21fc49d213e130ca to your computer and use it in GitHub Desktop.
Marketplace Registration
Marketplace Registration
Marketplace Product Page
click to product -> ResolveCustomer?
ResolveCustomer?
ValidToken? -> Customer Registration
InvalidToken? -> Invalid Token
ExpiredToken? -> Expired Token
Expired Token
back -> Marketplace Product Page
Invalid Token
back -> Marketplace Product Page
Customer Registration
customer_exists -> Welcome Back
register -> Registered
Welcome Back
cancel -> Marketplace Product Page
ok -> Login?
Registered
cancel -> Marketplace Product Page
ok -> Login?
Login?
valid account? -> Logged in
invalid account? -> Marketplace Product Page
Logged in
log out -> Login?
Jobs
add job -> check entitlement?
check entitlement?
expired? -> ExpiredEntitlementDialog
insufficient? -> InsufficientEntitlementDialog
ok? -> Launch Job
Launch Job
back -> Jobs
ExpiredEntitlementDialog
back -> Jobs
InsufficientEntitlementDialog
back -> Jobs
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