Open sina-jamshidi opened 4 years ago
should this ticket include this case:
and handling the referral link route? or would those be separate tickets?
should this ticket include this case:
- to user is already registered?
and handling the referral link route? or would those be separate tickets?
You should handle that case and the referral route as well. Feel free to do it under this ticket or make your own if you prefer.
appending requirements discussed in slack (for code reviewers)
hi Carol let's store the email address as to_user and from_user to answer your questions, an invitation is technically an invitation to connect There will be two flows that an invitation can get created When an email is typed in and sent
- An invitation is created
- An email is sent
When a referral link is sent and another user visits that link
ok, it seems like there are 3 case scenarios then. 1 to user is already registered so just create the invitation (it will show in their UI) 2 to user is not registered and they will get an automated email through sendgrid, which contains a referral link 3 to user is not registered and they get a manual email with referral link in cases #2 and 3, hold off creating the invitation until after registration; then automatically set approval to true