Bug Report: disable access to certain code host requires users to reinstall browser extension
Created by: abeatrix
- Sourcegraph version: 3.29.0
- Platform information: Any
Steps to reproduce:
- Add repo from Phabricator to Sourcegraph
- Remove repo from Phabricator to Sourcegraph and add the same repo from GitHub
- The
View on Phabricatoricon remains even though the repo has been removed. This should be replaced byView on GitHubinstead.
- A user reported that reinstalling the extension and disable access to Phabricator would stop the
View on GitHubbutton from changing toView on Phabricator.
Expected behavior:
-
View on Phabricatorshould be removed and replaced byView on GitHubif Phabricator is no longer listed as the code host. - Users should be able to disable access to Phabricator on the Sourcegraph extension setting page, under Site access.

