Skip to content

Instantly share code, notes, and snippets.

@marcelmeulemans
Last active February 21, 2022 09:30
Show Gist options
  • Save marcelmeulemans/51dc1f21191c01833ed8b3bd0575e98a to your computer and use it in GitHub Desktop.
Save marcelmeulemans/51dc1f21191c01833ed8b3bd0575e98a to your computer and use it in GitHub Desktop.
Invite flow
graph TD
subgraph Legend
direction LR
a(App screen)
b[/Backend task/]
c{{Phone screen}}
%%aa[Existing functionality]
bb[Development needed]
end
G --> H
F --> O
subgraph INVITER FLOW
A(Invite button) --> |Press| B
B(Invite screen) --> C
C{ } --> |In app friend| D
C -->|Share sheet| E
D(Choose friend) --> F[/Create invite booking/]
E[/Create invite link/] --> G{{Send link}}
end
subgraph INVITEE FLOW
H{{Recieve invite}} --> I
I{{Click invite}} --> |User has app| M
I --> |User does not have app| J
J{{App Store}} --> K
K{{Install app}} --> L
L{{Open app}} --> M
M(Splash screen) --> |Existing user| X
N(Home screen) --> O
M --> |New user| Q
O(Invite popup with class<br/>details, class images and list of<br/>inviter names) --> U
%%P(Welcome to FLOE screens) --> Q
Q(Free trial signup screen<br/>masqurading as an<br/>accept invite screen:<br/><b>class details</b>, <b>email</b>, <b>terms</b><br/>and <b>accept invite button</b>) --> R
R{{Create user}} --> RS
RS{{Schedule Free Trial Invitation}} --> S
S{{Create booking}} --> T
T(Class details screen)
U{ } --> |Accept invite| S
U{ } --> |View class| T
U{ } --> |Decline| NN
NN{{Send decline notification}} --> N
X{ } --> |Has subscription| X1
X{ } --> |No subscription| X2
X1{{Create invite booking}} --> N
X2{{Schedule Free Trial Invitation}} --> X1
end
subgraph PROPECT USER FLOW
P1{{Receive free trial invite}} --> P2
P2(Popup screen:<br/>We invite you to sign up as a FLOE<br/>member. If you would like<br/>to join the FLOE family please<br/>go the the FLOE website to set<br/>up your account.) --> P3
P3((Website<br/>flow))
end
RS --> |Delayed until class finished| P1
%%X2{ } --> |Has done X or more classes| P2
%%classDef done fill:#b1e592,stroke:#99c181;
%%class A,B,D,F,N,O,U,S,T,aa done
classDef todo fill:#f9cc77,stroke:#b5862f;
class C,E,G,H,I,M,X,P,Q,R,bb,AA,RS,P1,P2,X2,P3,O,NN todo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment