typesense / docusaurus-theme-search-typesense

A fork of the awesome @docusaurus/theme-search-algolia library customized to work with Typesense
https://typesense.org/docs/guide/docsearch.html
MIT License
65 stars 14 forks source link

Search Modal shows non-snippeted value and search results page shows snippeted value, when it should be the other way around #31

Closed jasonbosco closed 1 year ago

jasonbosco commented 1 year ago

Reported by @aandis during office hours

Showing the non-snippeted value in the search modal ends up cutting off highlighted terms, which leads to confusing UX

jasonbosco commented 1 year ago

@aandis I've pushed out a fix for this in v0.10.0-0 of docusaurus-theme-search-typesense. Could you give it a shot now?

aandis commented 1 year ago

Looks good. Thanks!