Change onboarding by replacing tutorial with follow recommendations in web UI #16060
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
On first launch, show the user a list of follow recommendations instead of the tutorial. The user can navigate away from the screen without pressing "done", and will not be pestered with the same page on re-launch. Pressing "done" triggers the browser permissions dialog as well as redirecting the user to the home feed.
Notes on the component
Unlike in other parts of the UI, the follow button icon in this list is a plus, that turns into a checkmark when activated, as well as having different colors (lighter default state, and green activated state). This is to make the action more prominent and to give positive feedback.
Another difference is that we fit the display name and username on the same line to make space for a partial bio. The bio is important to contextualize who the people are, but bios on the fediverse are unwieldy, so we force them on a single line and attempt to cut them to the first sentence only.
I do not claim that that is a perfect approach. It would be easier to work with if we'd maintained a strict character limit on the bios, because it is not possible to communicate multiple paragaphs/ascii-art/links worth of information about each account in a list like this without making it impenetrable to the reader.
I just hope it will encourage people to put the most important summary of themselves in the first sentence. For some accounts that I can see on my home feed, this is already true.
Why the tutorial has to go
The work on the official iOS app for Mastodon and its own onboarding flow made me take a second look at the tutorial in the web UI. It made me realize that the value the tutorial provides is very small in comparison. While I adore the illustrations, the tutorial spends time explaining trivial concepts like "home feed" and "reply" while delaying the user from seeing and engaging with the actual UI of the application. When the tutorial was first introduced, the advanced web interface was the default, which was quite overwhelming in complexity to new users. But that is no longer the case.
Follow recommendations for new users?
See what I wrote in #15945
Follow-up question
Is it time to get rid of the admin auto-follow feature? Perhaps instead, previously auto-followed accounts would get shown in this list somewhere near the top.