Skip to content

Use instantsearch-vue for the dedicated search page

Sarah German requested to merge instantsearch-vue into main

What does this MR do and why

Refactors the dedicated search page to be more cohesive with DocSearch (used for search in the navbar and homepage).

  • Updates InstantSearch to use instantsearch-vue
  • Limits search results to your site version (same behavior as #182 (closed), which added this to the homepage/navbar search)
  • Adds GitLab UI styling to search results
  • Removes product tags and filters from results (see #1135 (closed))
  • Removes unneeded CSS and templates (another step towards #361 (closed))

Closes #656 (closed)

Screenshots

Before After
image image
image image
image image

How to test

  1. Open search in the review app: http://instantsearch-vue.35.193.151.162.nip.io/search/
  2. Verify results from search queries match results from the main search (searching the nav bar or homepage)
Edited by Sarah German

Merge request reports