Skip to content

codeintel: Show user CTA in badge

Administrator requested to merge ef/34178 into main

Created by: efritz

This PR is an effort towards https://github.com/sourcegraph/sourcegraph/issues/34178. This PR:

  • Removes the OSS code intel badge
  • Eagerly loads data for the badge on the repo page instead of every activation
  • Adds a user CTA on the code intel badge on first view (temporary settings) and on error. There is one condition we don't handle yet (purple dot when you can set up additional configuration), but is marked as a todo in this PR that I will handle in a follow-up as it requires a larger refactor and I'd like to keep the diff relatively clean for this particular change.

Test plan

Storybook and local testing.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading