sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.1k stars 1.27k forks source link

Code intel does not appear on search results #11598

Open rrhyne opened 4 years ago

rrhyne commented 4 years ago

Steps to reproduce:

  1. Search repo:^github.com/facebook/react$ useState
  2. Hover over useState in the first result
  3. Note the code intel popup will not appear
  4. Click the file for the first result
  5. Hover over useState and note the code intel popup appears.

Expected behavior:

The code intel popup appears on the search results page.

Actual behavior:

No code intel popup appears on the search results page.

See the following slack thread for reference:

https://sourcegraph.slack.com/archives/CHXHX7XAS/p1592513110391300

rrhyne commented 4 years ago

One reason this is important:

As the experience currently exists, if new users do not click into a file, they will never experience code intel.

github-actions[bot] commented 3 years ago

Heads up @macraig - the "team/code-intelligence" label was applied to this issue.

macraig commented 3 years ago

@lguychard it feels like search would implement this using the code intel API endpoints, is there something lacking in the code intel's API data you would need?

lguychard commented 3 years ago

@macraig there is nothing missing -- this has simply never been implemented.

github-actions[bot] commented 3 years ago

Heads up @lguychard - the "team/search" label was applied to this issue.

lguychard commented 2 years ago

cc @benvenker -- existing issue for "code intelligence on search results"

benvenker commented 2 years ago

got it, thanks @lguychard

github-actions[bot] commented 2 years ago

Heads up @macraig - the "team/code-intelligence" label was applied to this issue.

benvenker commented 2 years ago

@macraig just adding this label since I know TJ is looking into this off and on as he has time.