galaxy-hub icon indicating copy to clipboard operation
galaxy-hub copied to clipboard

Render a navigation tree to the left of each page

Open VJalili opened this issue 5 years ago • 8 comments

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/

VJalili avatar Apr 02 '19 18:04 VJalili

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.

tnabtaf avatar Apr 02 '19 19:04 tnabtaf

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

tnabtaf avatar Apr 02 '19 19:04 tnabtaf

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.

VJalili avatar Apr 02 '19 19:04 VJalili

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.

dannon avatar Apr 02 '19 19:04 dannon

I still think breadcrumbs would go a long way (xref https://github.com/galaxyproject/galaxy-hub/issues/178).

martenson avatar Apr 02 '19 19:04 martenson

Does that still apply to the new hub ? If not we should close it.

mvdbeek avatar Oct 21 '21 08:10 mvdbeek

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

martenson avatar Oct 21 '21 09:10 martenson

We've still had discussions like this for the new Hub. I've attempted to consolidate this and similar issues in #957.

NickSto avatar Oct 21 '21 17:10 NickSto