You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rustdoc doesn't save filtered crate for search #100265
Some people (including myself) preferred having the crate filtering be stateless.
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.
Activity
pravic commentedon Aug 8, 2022
@rustbot modify labels: +A-docs +A-rustdoc-search
pravic commentedon Aug 8, 2022
@rustbot modify labels: +T-rustdoc
camelid commentedon Aug 8, 2022
I think this was an intentional change. Some people (including myself) preferred having the crate filtering be stateless. This may be the PR: #92735
cc @GuillaumeGomez
pravic commentedon Aug 9, 2022
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.
GuillaumeGomez commentedon Aug 9, 2022
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.
pravic commentedon Aug 9, 2022
Local docs - it's a separate beast that almost nobody uses. People use doc.rust-lang.org and docs.rs.
GuillaumeGomez commentedon Aug 9, 2022
That is a very bold statement. I hope you have some numbers to back it up? :)