Description
Mark active submenu automatically
Regarding: all pages
Go for example to this page: https://webpack.js.org/api/plugins/compiler/
Compiler <- active
- Watching
- MultiCompiler
- Event Hooks
- Examples
It's confusing because the sub menus can never be active, they are anchors. This could assume a reader it's a separate page. In my opinion the subpages must 1) be a separate page 2) or mark the current submenu as active while scrolling or clicking on the anchor.
Near that:
- If you just open a main menu it, it will mark the main menu item as blue. So now your current active main menu item is blue and the main menu item which you opened. In other words: It marks just opened menu items instead of only the current active one.
Prevent content scrolling if scroll in menu (usability)
The content start scrolling if you overscroll the menu scroll area. This should be prevented since if someone start scrolling the menu he want scroll in the menu and never the content. This ends up that the current content position is scroll to much down or up the menu.
Cluttered plugin related pages
WIP
https://webpack.js.org/plugins/
Documentation -> CLI Menu entry
Click Documentation -> CLI
CLI never could be active. It redirects to Documentation -> API -> Command Line Interface (CLI)
I think redirecting is more confuses then helps - beside that the CLI menu point never can get active. One concept of navigation would be better.
Sticky navigation
There are currently 3 menus. 1) Header, 2) Sub-header (only for documentation), 3) Sidebar-Menu (with an toggle anchor submenu)
The Sidebar-Menu is sticky, and you see most time all menus (if it not overflows), but you lost the menus from the header and sub header. It's irritating if you start search something and the header menus disappears every time but a part of the menu is sticking.
Menu item overflows
Reading: Some menu items with overflow submenu items
Go for example to this page: https://webpack.js.org/api/loaders/
Maybe it were a great idea to present the submenu items a separate scroll area. So the sidebar menu never overflows and you can see always all top menu items. The sub menu items just fill the rest of the space.
So you don't lose navigation and have a perfect overview where you are.
Scrolling Who knows where I am here? Somewhere in the middle of the docs. Lost navigation.Menu side bar "Version x.x"
You can't change to another version of the documentation and it's not really a part of the menu (you can't click it, it's kind of a menu "title"). I'm not sure if it's necessary there.
Change menu reloads the page
Yes this is more work, but I recognized if I click to another page the whole menu is reloading as well. The biggest problem: The scroll position of the menu is not maintained. It kicks me out of orientation - lot time you just click somewhere to see it is the right page but you must reorientate where you was in the menu.
Other ideas
- use icons maybe somewhere