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

add sections/groups to the results based on category #999

Open
JoeVanGundy opened this issue Jan 4, 2022 · 1 comment
Open

add sections/groups to the results based on category #999

JoeVanGundy opened this issue Jan 4, 2022 · 1 comment

Comments

@JoeVanGundy
Copy link

Describe the solution you'd like
A final result similar to Mac OS's finder.
The results are grouped by their category and limited to avoid one category taking up all the space.
image

Describe alternatives you've considered
For now I can just add the category on each result, but feels a little sub optimal.
Could go a long way to be able to limit categories to specific number as well.
Example, if the categoryLimit was 3, then the first 3 results would be documents, the next 3 would be definition, etc,

Additional context
I went through all of the issues and didn't see any similar requests, but please let me know if I'm missing an easier way to do this!

Thanks for all your hard work!

@asabaylus
Copy link
Owner

asabaylus commented Jan 5, 2022

This is a pretty cool feature to add. I love it. Please feel free to submit a PR. I quite busy so it might take some time before I get around to add this.

How do you think the order of categories would work? Any thoughts about the API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants