-
Notifications
You must be signed in to change notification settings - Fork 330
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
Proposal: Narrow search results by type #1765
Comments
For some context, I'm trying to find ways to get hex docs to cover the cases that we need to (ideally) get rid of ash-hq.org (not the whole website, just the reference documentation features). Multi-package search is one major issue, but we have some strategies to help with that (leave our ash-hq multi-package search up, but have it link to hex. The other major issue is search ability of DSLs within hex. Worst case scenario we can't get rid of ash-hq.org, but will still have improved experience for those users who prefer to use hex :) |
Hi Zach! We are exploring multi package search, which will require a UI redesign, then I think it is a good time to revamp this discussion. something we could do right now though is to allow you to specific a type via keywords, something like: |
Keywords sound like a good idea, and potentially are a good first solution, as any UI can be built on top of them and ultimately end up modifying the search string, even if it is hidden from the user. I will look at it now 👍 |
It also looks like |
Closing in favor of PR. |
@josevalim I'm not sure if this is something that I've screwed up or not, but if I point |
Nope :) Happens on commits before you merged the changes from my PR, so this must just be a side effect of trying to use ex_doc from GitHub. I will wait for a release :) |
Related to #1773 perhaps? Can you post your git sha in there and how you can reproduce the failure? |
Yep! So the |
Fixed by #1776. |
In this very poor mockup, I show an example UI that would allow for selecting the types of things you would like to search. I would imagine that by default they would all be checked, so we could also add a little "only" button next to each one to instantly select only that one.
This could be put behind a configuration of some kind, but to me it sounds generally useful enough to be done automatically. If this is something we would be interested in I'm happy to take a stab at it.
The text was updated successfully, but these errors were encountered: