Skip to content

Remove repo count from the Explore page

Administrator requested to merge explore-page into master

Created by: dadlerj

Fixes https://github.com/sourcegraph/sourcegraph/issues/10461

Turns out we do usually show this, but there are a few issues:

1) currently, non-admins will never see it, due to an error edit: this was intentional: see history at https://github.com/sourcegraph/sourcegraph/issues/1860!

  1. sometimes, the handler will return nil for various reasons

I fixed the former case, and in the latter case I added a fallback.

edit: I removed the total count from the explore page entirely and added a link that will always appear

Merge request reports

Loading