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

[Feature Request] Looser sort if less than X items #27

Open
KTibow opened this issue Jun 30, 2020 · 0 comments
Open

[Feature Request] Looser sort if less than X items #27

KTibow opened this issue Jun 30, 2020 · 0 comments

Comments

@KTibow
Copy link
Contributor

KTibow commented Jun 30, 2020

This idea is fairly complicated, but here's how it works:
By default if you type too many additional keywords, than it won't find matches.
Basically:

  • X is the minimum number of matches
  • Y is the number of matches found
  • Z is how many matches need to be showed, in order to have that minimum number of matches (X - Y)
  • If Y is less than X:
    • Find second-best matches
    • Show Z extra matches

Maybe there should be a divider, or a button somewhere... I do hope we can implement this in a minimalist way to keep the JS organized though. (Just because of the implementation complexity of this idea, can you vote 👍 if you think it's good? Thanks!)

@KTibow KTibow changed the title [Feature Request] Loose sort if less than X items [Feature Request] Looser sort if less than X items Jun 30, 2020
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