Skip to content

Add UI for advanced search #99321

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

Open
Jerrody opened this issue Jul 16, 2022 · 4 comments
Open

Add UI for advanced search #99321

Jerrody opened this issue Jul 16, 2022 · 4 comments
Labels
A-rustdoc-search Area: Rustdoc's search feature T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Jerrody
Copy link
Contributor

Jerrody commented Jul 16, 2022

@GuillaumeGomez
It's pretty hard to work with results in some huge frameworks when you get unfiltered results.

For example, I search for a method and instead get in result constants, methods, associated functions, and so on. And a user doesn't have a filter.

@Jerrody Jerrody added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Jul 16, 2022
@GuillaumeGomez
Copy link
Member

GuillaumeGomez commented Jul 16, 2022

You actually have the possibility to use filters already. For example, if you only want functions/methods, prepend your query with fn:. We plan to add a UI to be able to enter this information differently and not only with the search input in the coming weeks/months so hopefully this won't be an issue for too long.

@GuillaumeGomez GuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-search Area: Rustdoc's search feature labels Jul 16, 2022
@Jerrody
Copy link
Contributor Author

Jerrody commented Jul 16, 2022

You actually have the possibility to use filters already. For example, if you only want functions/methods, prepend your query with fn:. We plan to add a UI to be able to enter this information differently and not only with the search input in the coming weeks/months so hopefully this won't be an issue for too long.

I'm glad to see it! Alright, I just keep this issue until this feature will be added.

@GuillaumeGomez
Copy link
Member

Maybe update the title to reflect what it will actually be about? 😉

@Jerrody
Copy link
Contributor Author

Jerrody commented Jul 16, 2022

Maybe update the title to reflect what it will actually be about? 😉

Yeah.

@Jerrody Jerrody changed the title Add filters for the search. Add UI filters for the search. Jul 16, 2022
@GuillaumeGomez GuillaumeGomez changed the title Add UI filters for the search. Add UI for advanced search Jul 21, 2022
@JohnTitor JohnTitor removed the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-search Area: Rustdoc's search feature T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants