Skip to content

Extension graduation: Graduate go imports search

Warren Gifford requested to merge ps/extension-graduation-go-imports-search into main

Created by: philipp-spiess

Closes #38316

This graduates the go import search extension. The extension currently has two usages:

  1. A query of the form go.imports:<something> is transformed to look for go import strings of <something>.
  2. A user config option that, when enabled, shows an "show all usages" button next to import statements: Screenshot 2022-08-19 at 16 14 53

We decided to only migrate 1) since 2) is not enabled by default, currently broken on Web (won't render at all) and broken on code hosts (the link it creates is dead).

We plan on tracking usages of this transformation and will very likely deprecate this later.

Test plan

I verified that the same query is generated on my local dev instance that is also created on prod using the extension. For some reason they do not return the same results though?

Screenshot 2022-08-19 at 16 14 53 Screenshot 2022-08-19 at 16 14 51 e

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading