RedHat-UX / red-hat-design-system

Red Hat's Design System
https://ux.redhat.com
MIT License
94 stars 18 forks source link

[feat] `<rh-sidenav>` element #1329

Open markcaron opened 10 months ago

markcaron commented 10 months ago

We need a new Side Navigation component for use on documentation (like our ux.redhat.com) or web applications.

Based on prior art, we have 2 quite similar designs:

The priority is set to high because our current side nav on UX dot poses an inaccessible anti-pattern with it's checkbox-based hamburger menu.

markcaron commented 10 months ago

Worth considering whether this follows the other Navigation naming as <rh-navigation-side>

wesleymiles commented 7 months ago

Chiming in to say that the docs.redhat.com team would like to use this component if possible for the new docs site which will be launched by summit.

coreyvickery commented 7 months ago

@marionnegp Miro link for exploring designs.

https://miro.com/app/board/uXjVN1WFZHg=/

zeroedin commented 6 months ago

<uxdot-sidenav> has been created in #1465 to serve ux.redhat.com until more discovery on <rh-sidenav> is done

coreyvickery commented 4 months ago

@markcaron @hellogreg I would also like to get this done in Charmander. The design is still in progress, but a lot of work has been done so far. It would be nice to get it in front of design leads very soon, but I don't know what that new process is now.

coreyvickery commented 3 months ago

Update 5/27: Team and stakeholders reviewing specs.

https://www.figma.com/proto/aOOto0i3Ph9AfBy42VVej8/rh-side-nav?page-id=1%3A16&node-id=1-2028&viewport=119%2C146%2C1&t=ow7NYJOKiqR9QBTA-1&scaling=min-zoom

coreyvickery commented 3 months ago

@markcaron Do we have a developer assigned to work on this yet?

bennypowers commented 3 months ago

We spoke about this at office hours today:

The drawer, tree-view, and learning path elements do not have slots for things like titles or associated widgets. Rather, those elements are ancillary to the elements themselves, even if they are required in the pattern. In other words, it may be the case that the table of contents pattern requires a heading element as well as a tree view element, but that doesn't mean that tree-view itself is concerned with content headings, rather, it's up to the pattern implementation to make sure the heading is there.