Open mike-r-mclaughlin opened 2 years ago
Heads up @benvenker @lguychard - the "team/search-product" label was applied to this issue.
Interesting idea. @limitedmage this sounds like it does fall on us, do you agree?
Yes, this is ours. Looks related to #20874. It requires some refactoring of the data the server returns, since the server does not return the full repo name for content results.
This is still an issue. We no longer use pre-formatted headers, and for code hosts that are unknown to us (i.e. not github.com, bitbucket.com, or gitlab.org), we do not even render a code host icon that can be hovered over.
cc @taiyab for design
Feedback
When you have many code hosts, often of the same type (multiple GHE hosts and GH.com, for example), it's difficult to distinguish where the code lives from the search result without hovering over the link and looking at the result.
It would be great to provide a configuration to include that in the breadcrumb. Initially, we thought we could do it with the
repositoryPathPattern
in the code host configuration. But, that does not display in the search results.Direct quote
Customer
Customer Slack discussion