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

Improve searchbar #19

Open
kkerti opened this issue Apr 15, 2024 · 0 comments
Open

Improve searchbar #19

kkerti opened this issue Apr 15, 2024 · 0 comments

Comments

@kkerti
Copy link
Contributor

kkerti commented Apr 15, 2024

Overview

All pages on the documentation site are indexed by meilisearch with a script running while building the project. The "body" of the pages are present in the doc.body field. The package marked is being used to convert the markdown bodies into HTML, so it can be rendered.

  1. When the user starts to search, the last 4 entries will try to show relevant answers.
    image
    Task: Show only the description field in the search query, instead of the body.

  2. When a query response has tags from the indexed document, they show up like an array. Make them simple text tags, make it "human readable" and not so lame.
    image

  3. Return 5 entries instead of 4.

  4. Improve the padding and design of the search field, if you have any better idea!

bettyblack23 added a commit that referenced this issue Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant