web: Remove NoRepositoriesEnabledAlert and noRepositoriesEnabled flag
Created by: mrnugget
This fixes #4127 (closed) by
- removing the
NoRepositoriesEnabledAlert
- deprecating the
noRepositoriesEnabled
SiteFlag
and always have it befalse
- removing every usage of the
noRepositoriesEnabled
SiteFlag
in the web app
This should be reviewed by someone who knows the web
component better than I do and is able to check whether I missed something when removing usage of the field or by deprecating the field.
Test plan: I manually
- setup a fresh Sourcegraph instance, added an external service config that produces a repository
- setup a fresh Sourcegraph instance, added an external service config that produces no repository