Skip to content

codeintel: Add additional badge states

Administrator requested to merge ef/34178-2 into main

Created by: efritz

This PR handles the todo item marked in https://github.com/sourcegraph/sourcegraph/pull/34459. Specifically, we show a purple dot on the code intel badge when there's something configurable. Closes #34178 (closed).

Reviewers: This required some refactoring so that we could separate data processing from the components that need to display them. It might be easiest to just read the CodeIntelBadge and BadgeContent components. The remainders are just moving existing components to new files.

Test plan

Storybook and local testing.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading