-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rustdoc doesn't save filtered crate for search #100265
Comments
@rustbot modify labels: +A-docs +A-rustdoc-search |
@rustbot modify labels: +T-rustdoc |
I think this was an intentional change. Some people (including myself) preferred having the crate filtering be stateless. This may be the PR: #92735 |
I think, in this case just don't use the filtering? Or (better) we need to include this in the settings ("save crates filter/choice"). Just dropping the filtering state is a UX breaking change. Not to mention that now we are forced to select the crate filter each time we search. I think, the amount of "select std in the filter" is insanely larger than "I always used 'std', now I need 'core' - I have to reset the filter" use cases. |
This is an intentional change. There are multiple things backing this change:
I'm not sure adding a new setting for this would fix your issue either since you'd have the same problem in any case on local docs. |
Local docs - it's a separate beast that almost nobody uses. People use doc.rust-lang.org and docs.rs. |
That is a very bold statement. I hope you have some numbers to back it up? :) |
Originally:
Starting from 1.60:
I expected to see this happen: the search filter should persist.
Instead, this happened: the search filter resets every time we go to the result.
Version it worked on
It most recently worked on: 1.59
Version with regression
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: