Repository navigation
Onboarding improvements: The Blank Slate - #6365
Conversation
|
This is ready for review 🙇 |
|
Tested again against the latest commits, and LGTM overall.
When I logout of .com, I am automatically logged out of Enterprise too. Since I copied the user key over from prod to the dev environment, I appear to be logged in but still get As soon as I logged out, both tabs disappeared. I assume this is correct because of above.
1.5.1-beta6, mac, 1c49d27 |
|
I was able to trigger some stale state on 1c49d27 by running through these steps (apologies for there being so many steps to trip it):
Ideally I think the selection should be cleared when the blank slate reverts, but I haven't had a chance to spot where in the code that should occur. |
shiftkey
left a comment
There was a problem hiding this comment.
Gonna spend some time testing on it, but the initial code looks good. Some small questions to start things off...
I think this is a limitation in the FilterList where it doesn't signal that the selection isn't valid. Given that it's not trivial to get into this state I think we should land this PR and open an issue to look at that separately. |
|
I'll merge this in to not hold up this PR, but I wanted to point out a couple of dark theme things to follow up:
I'll move it out to an issue afterwards if it's worth tracking |




Overview
This PR marks the first user-facing changes to the on-boarding project (see #5686) and focuses on the "blank slate", i.e. the view users are presented with when they've completed the welcome wizard (or when they don't have any repositories in the app).
Before
After
This view builds on the user research and metrics collected via (#5616) which showed us clearly that the most common action users take after completing the welcome wizard is cloning a repository. As such, this flow has been heavily optimized for that flow while getting rid of distractions.
Building on #6278 the repository list starts loading the moment the user signs in through the welcome wizard so for the majority of our users the repository list should be all loaded and ready when they get to the blankslate.
It's technically possible (although inconvenient and tricky) for a user to sign in to both a GitHub.com and a GitHub Enterprise account while in the welcome wizard so the dialog supports that as well, showing a tab bar to switch between the repositories when using two accounts
The most likely scenario where you'd end up with that however is if you've been using the app for a bit, signed in to two accounts, and then remove all the repositories from the app.
Testing
Easiest way to test this out is to sign out of all accounts, remove all repositories in the app, and then force the welcome flow by deleting the
has-shown-welcome-flowkey in localStorage (through dev tools or by runninglocalStorage.removeItem('has-shown-welcome-flow')in the devtools console.Release notes
Improved: A new, streamlined, flow for quickly adding your first repository to the application.
TODO
cc @billygriffin @tierninho
Closes #6474