RedHat-UX / red-hat-design-system

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

[docs] All Elements page improvements/refresh #1447

Closed markcaron closed 5 days ago

markcaron commented 8 months ago

Update/refresh the All Elements page.

coreyvickery commented 8 months ago

Add toggle similar to PatternFly.

https://www.patternfly.org/components/all-components

zeroedin commented 8 months ago

Easy win: just by changing minmax (400px -> 290px) on the grid-template-columns can move to 3 columns.

@media (min-width: 820px)
  .multi-column--min-400-wide {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

image

zeroedin commented 6 months ago

Partially handled in #1465. I'll leave this issue open if we want to add in a toggle and we can close the ticket in a separate PR..

coreyvickery commented 6 months ago

@markcaron @marionnegp An Elements page refresh design is below that covers the following:

Still in progress:

For discussion:

I already covered a possible taxonomy in #1437. This refresh design explores using filtering components like rh-tabs, rh-chip (or rh-chip-group), pf-toggle-group, and pf-dropdown.

https://www.figma.com/proto/r3ncImHRFAyTwQ5up3jM7J/All-elements-categorization?page-id=0%3A1&type=design&node-id=5-9609&viewport=105%2C119%2C1&t=SdV3E6jDGCjS8bm3-1&scaling=scale-down&mode=design

markcaron commented 6 months ago

@coreyvickery I think I'm a fan of the chip-group! The toggle-group is also cool, but I feel like the chip-group has more potential. Nice work!

marionnegp commented 6 months ago

@coreyvickery, I like the chip-group best too. It looks good when it shows just alphabetical and categorical chips and when you list the individual categories, so it's pretty flexible.

coreyvickery commented 6 months ago

@markcaron @marionnegp Might have to go with or for categorization in the meantime since is not in dev yet.

coreyvickery commented 5 days ago

Update 9/18:

Figma mock-up that will be coded. Other tasks are done (3) or kicked (1).

Kicked

bennypowers commented 5 days ago

we're good here