Skip to content
Snippets Groups Projects
Closed Overhaul usage of sourcegraph URL in browser extension
  • View options
  • Overhaul usage of sourcegraph URL in browser extension

  • View options
  • Closed Issue created by Warren Gifford

    Created by: felixfbecker

    At the moment, multiple ways are used to access the Sourcegraph URL:

    • window.SOURCEGRAPH_URL
    • localStorage.getItem('SOURCEGRAPH_URL')
    • storage.getSync(({ sourcegraphURL }) => ...)
    • import { sourcegraphURL } from ...

    We need to define and use a single source of truth and also react to its changes everywhere (e.g. with an Observable)

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first