Skip to content

New reference panel: handle `codeIntel.mixPreciseAndSearchBasedReferences`

Administrator requested to merge mrn/mix-search-precise into main

Created by: mrnugget

This fixes one of the last big chunks of https://github.com/sourcegraph/sourcegraph/issues/30970 by replicating the behaviour in code-intel-extensions where we mix precise and search-based results depending on the user setting.

It works (see video below), but I ran into two issues that I think can be fixed as follow-ups:

Video:

https://user-images.githubusercontent.com/1185253/161749404-facc90c1-226a-4b39-97b9-3a7cad3a9424.mp4

Test plan

Tested this locally (see video). With different pagination sizes and in repos with and without precise code intel.

App preview:

Merge request reports

Loading