clearlydefined / clearlydefined/website

When searching, exact matches should be suggested first

Open
#866 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
32
Forks
35
PR merge metrics
No merged PRs in 30d

Description

When you type in the search bar, you get a list of suggestions as you type. However, exact matches are sometimes drowned out by non-exact matches. Borrowing the example from #865:

When type "pandoc", and you get:

- pandoc-pandocker-filters
- pandoc
- jekyll-pandoc
- pandoc-numbering
- etc...

Pandoc only points to crates.io, however. If I want the PyPI package of the same name, it does not show up. Preferably, exact matches should always be suggested before non-exact matches are suggested.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.