Open paulRbr opened 9 months ago
Not exactly related but I made a PR on the search plugin repository to prepend the collection name to the search results. https://github.com/bridgetownrb/bridgetown-quick-search/pull/26
If we want more customization of the search results, this needs to be done on the plugin so this won't be an immediate priority. 😬
Current Behavior
Right now, the search in the hub content displays a list of result without a lot of context (only a title and an excerpt) as seen below:
Ideas on potential future behavior
It would be really nice if the items of the results are grouped by section (Documentation, Product Update or Guides), or if we add a visual label, or whatever other nice UI trick to quickly identify which result comes from which section.
Ideally, the groups order would depend on which page we are in (if the user visits a documentation page, the “Documentation” section of search results should be displayed first)