Skip to content

codeintel: User-facing repository badge

Administrator requested to merge ef/user-facing-badge into main

Created by: efritz

Adds basic information available to enterprise users as discussed in the Figma document. Partial effort towards #31180. Here's the current description of what logic goes between what we display in this form:

To see this on your local instance add "codeIntelRepositoryBadge": {"enabled": true} to your user's experimental features settings.

Known deficiencies we should cover in follow-up issues:

  • Additional coverage available cannot currently be determined; we need to expose the actual jobs we infer via GraphQL to ensure we aren't inferring everything that's already covered by the user manually.
  • The I want precise support! link needs a target before we can add it.
  • No straightforward way to correlate language and indexer names yet. Need to build an intuition in order to have the Unavailable state match the design.

Live storybook: https://5f0f381c0e50750022dc6bf7-pxzrwxfrcx.chromatic.com/

Test plan

Tested locally, storybook.

App preview:

Merge request reports

Loading