Skip to content
Snippets Groups Projects

web: Remove NoRepositoriesEnabledAlert and noRepositoriesEnabled flag

Merged Administrator requested to merge core/repo-enabled-alert into master

Created by: mrnugget

This fixes #4127 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading