-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc: on mobile, make the sidebar full width and linewrap #139831
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
Conversation
r? @notriddle rustbot has assigned @notriddle. Use |
This comment has been minimized.
This comment has been minimized.
@GuillaumeGomez I'm really not sure how changing the size of these elements could cause these test failures, got a clue? |
Please add a screenshot. Also, what's the reasoning behind this change? What would it improve? |
The difference is (was?) that mdBook and even the rustdoc file panel are trees whereas the rustdoc sidebar is (was?) a list. Anyway, I don't mind the change, we'll just do an FCP first to ensure that everyone else agrees with it. Once done, I can check what's wrong with the gui test failure. @rfcbot fcp merge |
Team member @GuillaumeGomez has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
☔ The latest upstream changes (presumably #140895) made this pull request unmergeable. Please resolve the merge conflicts. |
94558c5
to
59bdc04
Compare
this is because the mobile sidebar cannot be resized, unlike on desktop.
59bdc04
to
5326fc9
Compare
🔔 This is now entering its final comment period, as per the review above. 🔔 |
Is there a reason this is still marked as draft? |
This comment has been minimized.
This comment has been minimized.
Some changes occurred in HTML/CSS/JS. |
Some changes occurred in GUI tests. |
This comment has been minimized.
This comment has been minimized.
stuff like "clicking the settings menu closes the mobile sidebar" is now impossible for users to observe, since the mobile sidebar will always cover the settings menu due to being full-width, which is good because that behavior is also now impossible for our testing framework to observe.
7c80c71
to
1eba1b5
Compare
@GuillaumeGomez suggestions applied! |
Thanks! @bors r+ rollup |
Rollup of 4 pull requests Successful merges: - #139831 (rustdoc: on mobile, make the sidebar full width and linewrap) - #140950 (More option optimization tests) - #141108 (Docs(lib): Fix `extract_if` docs) - #141361 (use `cfg_select!` to select the right `VaListImpl` definition) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #139831 - lolbinarycat:rustdoc-mobile-sidebar, r=GuillaumeGomez rustdoc: on mobile, make the sidebar full width and linewrap this is because the mobile sidebar cannot be resized, unlike on desktop.
this is because the mobile sidebar cannot be resized, unlike on desktop.