web: Remove NoRepositoriesEnabledAlert and noRepositoriesEnabled flag
Created by: mrnugget
This fixes #4127 by
- removing the
NoRepositoriesEnabledAlert - deprecating the
noRepositoriesEnabledSiteFlagand always have it befalse - removing every usage of the
noRepositoriesEnabledSiteFlagin 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