feedback
feedback copied to clipboard
Allow Collapsing of Side Panel
Some pages on your Documentation (docs.microsoft.com) subdomain can be a bit long. For around 75% of webpages I visit, I like using ctrl+f to find specific things. In the above screenshot, I've circled the pane I'm talking about. This pane takes up some space which I'm not always keen on, however I'm fairly close to indifferent about the screen space it uses. Most of my frustration with it comes up when I'm trying to use a browser's Find feature, but it searches through that side pane too (which can have hundreds and hundreds of matches in it, depending on what I'm looking for).
I'd like to be able to collapse it (probably some JS magic would do the trick). I do know that it will take more than just collapsing the pane to prevent matches from still being found in the pane (at least on Edge and Firefox, haven't checked it with Chrome), as can be seen at https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_collapse_sidepanel when searching for, say, "about", which still hits 2 matches (one from the code on the left, and one in the collapsed or expanded sidepanel in the WYSIWYG on the right).
I've one idea that might mitigate the fact that browsers' Find feature still matches inside a collapsed sidepanel (when scripted like the example from that previous link): Allowing the user to collapse the contents of the panel as a node. To clarify that, there are already nodes for different parts of the left panel at https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/backgroundapplications. If one searches for "unit tests" on that page, it will match the only occurrence which is in the "Develop applications" node. However, if you collapse that node and search again, it doesn't match it anymore.
Perhaps you can put all of those collapse-able nodes inside of another, single collapse-able node at the top of the pane, thus allowing users to collapse that one node and prevent matching both the nodes' contents and the nodes' names? I do realize that this feature then becomes a sort of easter egg by this point, as it would be more of a lifehack when discovered, but it would still allow for a solution.
Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).
Food for thought: If all those nodes are programmatically collapsed when one collapses the sidepanel, it would be less Easter Egg-y and much more intuitive.
I was hoping for the same. Collapsable side panel for Microsoft Documentation. I like to have more space for reading and not having so many lines.
yes, I too would like this (I 👍'd the issue, etiquette 😉) but I wanted to make my case:
lots of wasted real estate for "vertical" mode, right?
vs a site like GitHub 😉
There's a browser extension that adds a toggle button on top of each document when you browse: https://www.drewsk.tech/docs-fullview/
took me a minute to find the button it adds but then I found the GitHub page which has an animated gif 😊