-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
rustdoc: Quick way to collapse all impl blocks #134429
Copy link
Copy link
Closed
Labels
A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Metadata
Metadata
Assignees
Labels
A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The primary motivation of #130612 was to provide an easy way to overview the different kinds of impls on a type.
#132155 fulfills the layout aspect of the motivation, but there is no way (to my knowledge) to quickly collapse all impl blocks with one click.
The user has to manually click collapse on each one.
There should be a quick and convenient way to collapse (and expand) all the impl blocks to make it convenient to overview them.
The question is what would be the best way.
Here are some possibilities:
A hover tooltip on the button could inform the user about this alternate usage.