sourcegraph / sourcegraph-public-snapshot

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

Improve search contexts #58345

Closed rrhyne closed 1 month ago

rrhyne commented 10 months ago

Search contexts are critical for certain customers. This is especially true for those with a large number of projects, or release strategies that involve long-lived branches and/or multiple projects contributing to a release.

For other users, typically those in environments with fewer projects, contexts are not useful.

Design process

taiyab commented 10 months ago

Some (very early) exploration I've started for this:

image image

https://www.figma.com/file/rMoATdWKHIC1N1Et0iqItG/Code-Search?type=design&node-id=303%3A1584&mode=design&t=fbbrIBW8qDeymqnV-1

Was this ever implemented? Looks like it has some great ideas.

image

https://www.figma.com/file/2Zx8ZmGbBnkhYWDQiMOnB6/44542-%E2%80%93-Search-contexts-usability-improvements?type=design&node-id=1814%3A2050&mode=design&t=TDDdrp6X1zDUZZBm-1