Skip to content

extensibility: implement featured extensions

Administrator requested to merge registry-featured-extensions into main

Created by: tjkandala

  • Add featuredExtensions field to ExtensionRegistry GraphQL type
  • Add registry/extensions/featured endpoint to HTTP API to allow other instances to ask sourcegraph.com for featured extensions (allows us to update featured extensions independently of releases)
  • Implement featured extensions section + card type (Figma, closes #21009, closes #20780)

Screenshot from 2021-06-03 17-52-47

  • Should we only display a featured extension once, not again in its primary category's section?

Testing locally

  1. run SOURCEGRAPHDOTCOM_MODE=1 enterprise/dev/start.sh in SG repo root
  2. create a few test extensions (or clone some of our extensions) and publish them to your local registry with the src cli
  3. add those extension IDs to this slice and wait for frontend to recompile
  4. reload the registry page and see the featured extensions section in action (only displayed when no category is selected and search query is empty,

Merge request reports

Loading