Skip to content

web: Remove NoRepositoriesEnabledAlert and noRepositoriesEnabled flag

Warren Gifford requested to merge core/repo-enabled-alert into master

Created by: mrnugget

This fixes #4127 (closed) by

  1. removing the NoRepositoriesEnabledAlert
  2. deprecating the noRepositoriesEnabled SiteFlag and always have it be false
  3. 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

  1. setup a fresh Sourcegraph instance, added an external service config that produces a repository
  2. setup a fresh Sourcegraph instance, added an external service config that produces no repository

Merge request reports

Loading