Skip to content

"No repositories" message regression

Created by: quinnkeast

When a user has a code host connection, but no repositories, they see this message on the Repositories view:

CleanShot 2021-04-30 at 10 40 30@2x

This seems like a regression, as we previous had an actionable message like:

CleanShot 2021-04-30 at 10 41 31@2x

Edit: Confirmed, the correct state is still exists and is sometimes shown, but I'm not sure why it is or isn't being shown in this case:

CleanShot 2021-04-30 at 10 45 08@2x

The incorrect state was shown while I was signed in as a non-admin user, while the correct state was as an admin/Sourcegraph member.