Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[search] add option to enable detailed view by default #2690

Closed
4 tasks done
jcstein opened this issue Jul 27, 2023 · 4 comments
Closed
4 tasks done

[search] add option to enable detailed view by default #2690

jcstein opened this issue Jul 27, 2023 · 4 comments
Labels
contribution welcome The team would welcome a contribution from the community for this issue enhancement New feature or request theme Related to the theme

Comments

@jcstein
Copy link

jcstein commented Jul 27, 2023

Is your feature request related to a problem? Please describe.

This would add support for FlexSearch, which is what is used by default in Nextra.js. I am currently choosing between either VitePress or Nextra, with a preference toward VitePress. However, the details from the search that show up on Nextra are preferable as opposed to just the title of a page.

With minisearch:
Screenshot 2023-07-27 at 11 31 49

With FlexSearch:
Screenshot 2023-07-27 at 11 32 04

Describe the solution you'd like

Add support for FlexSearch

Describe alternatives you've considered

Using Nextra, but I would like to use VitePress

Additional context

No response

Validations

@brc-dd
Copy link
Member

brc-dd commented Jul 27, 2023

toggle that button on top right

@jcstein
Copy link
Author

jcstein commented Jul 27, 2023

omg thank you @brc-dd 😄

@jcstein
Copy link
Author

jcstein commented Jul 27, 2023

any idea if there is a setting to toggle on this by default?

Screenshot 2023-07-27 at 11 42 26

@brc-dd
Copy link
Member

brc-dd commented Jul 27, 2023

Ah, not yet. PRs are welcome.

@brc-dd brc-dd added enhancement New feature or request theme Related to the theme labels Jul 27, 2023
@brc-dd brc-dd changed the title [feat] add FlexSearch as an option for search engine [search] add option to enable detailed view by default Jul 27, 2023
@brc-dd brc-dd added the contribution welcome The team would welcome a contribution from the community for this issue label Jul 27, 2023
@brc-dd brc-dd closed this as completed in 4af5975 Aug 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contribution welcome The team would welcome a contribution from the community for this issue enhancement New feature or request theme Related to the theme
Projects
None yet
Development

No branches or pull requests

2 participants