galaxy-hub
galaxy-hub copied to clipboard
Render a navigation tree to the left of each page
Would it be possible to add a navigation panel to the left of each page? This can help navigation between related pages, and simplifies seeing the hierarchy of related pages.
For instance, see MSDN docs: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/
I've been thinking about adding a path to the current page in the page header. That's not what you are asking for though. I'll poke around Metalsmith some, but I suspect that @dannon can give a conclusive answer.
Some possibilities:
-
Ancestry
- Copious doc, no screenshots.
-
Navigation
- Doc is sparse, but code has a lot of doc in it
-
Series
- more doc, no screenshots
If we take MSDN as a good reference, they have a path at the top of the page, and a hierarchy of related pages on the left. Personally I find it very easy to navigate.
Breadcrumbs (the path) and section navigation were tinkered with at one time, but I think we found them redundant with the content markup we had at the time, which consisted of lots of navigation that existed in-page. Happy to revisit it though.
I still think breadcrumbs would go a long way (xref https://github.com/galaxyproject/galaxy-hub/issues/178).
Does that still apply to the new hub ? If not we should close it.
I think it applies. You still have no idea where you are in the hierarchy if you land here or here or here -- the "back to home" always takes you to root.
edit: although could be a dupe of https://github.com/galaxyproject/galaxy-hub/issues/171
We've still had discussions like this for the new Hub. I've attempted to consolidate this and similar issues in #957.