Please enable JavaScript.
Coggle requires JavaScript to display documents.
Current Registration and Authentication (Ada on GitHub.com with Chrome…
Current
Registration and Authentication
Linus on sourcegraph.com
No account OR logged out
SG.com "Sign up" link
e.g. top-right CTA
sourcegraph.com/join
Choose plan type form modal
If GH logged IN
GH authenticate/confirm/approve SG usage
Did not start with beta
Returning?
Public + private code
Selected for the first time
1 more item...
No change in authorization
1 more item...
First-timer?
Public + private code
1 more item...
Public code only
1 more item...
Started with beta link click
No change in authorization
Beta signup page
Public + private code
Selected for the first time
Beta signup page
Display private org form
TODO
:
Find a way to show first-timers a tour here? These people never get the onboarding. Maybe it doesn't make sense to show them a tour if their language isn't available yet, though
If GH logged OUT, then log in or create GH account
#
SG.com "Log in" link
e.g. top-right CTA
sourcegraph.com/login
#
SG.com "Join Beta List" button
#
Question
:
Do any other redirect_to paths exist? If a user signs up from the Pricing or Plan pages, do they see Code View with coachmarks, or do they return to where they were?
Logged in
Repo dashboard
Ada on GitHub.com with Chrome extension
• No SG account OR logged out
Private repo
GH.com "Authorize on Sourcegraph" button
Choose plan type form modal
Public + Private
GH authenticate/confirm/approve SG usage
#
TODO
:
Display private org form
Public
GH authenticate/confirm/approve SG usage
Return to original GH.com page
TODO
:
Fix bug here. Public should never even be an option at this point — if the user auths public only, they haven't changed the lack of access that led them here in the first place.
Public repo
GH.com "View on Sourcegraph" button
QUESTION
:
Does this route to first-timer path above if the user is new? Do they go to Checkup.go, or to the file selected? If the latter, do coachmarks appear? If they upgrade auth scope, do they see an afterPrivateCodeSignup modal?
SG account (with private code authed)
Logged in
#
SG account (with only public code authed)
Logged in
Private repo
GH.com "Authorize on Sourcegraph" button
#
TODO
:
Fix bug here. User is automatically re-routed BACK to the same page on GH.com, but still doesn't have private code access.
Instead, we should route people to the "Choose plan type form modal" path above.
Public repo
#