Loading unpacked extensions
Created by: lguychard
closes #489
This PR adds the ability to load locally served Sourcegraph extensions. Review by commit.
The URL to an unpacked extension can be set using the debug palette:
In the browser extension, the unpacked extension url is stored in chrome.storage.local
. This is done to avoid reading & fetching a URL from localStorage that may have been set by other scripts.
In the webapp, the value is read from localStorage.
By using localStorage/chrome.storage.local rather than settings, and only allowing one unpacked extension, we avoid usage of this feature to circumvent the "private extensions registry is a premium feature" restriction.
TODO:
-
styling -
tests