spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[DOCS]: investigate grouping of related components on docs site

Open najikahalsema opened this issue 2 years ago • 1 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Description of issue

Some components, like menu and table, have multiple sub-components that require documentation. It would be nice to be able to group them under a sub-folder or something. We should explore this and see what we can do.

najikahalsema avatar Jul 12 '22 18:07 najikahalsema

First draft of this: https://docs-groups--spectrum-web-components.netlify.app/components/accordion/

It would benefit of a pairing with https://docs-nav-scroll--spectrum-web-components.netlify.app/components/overlay-trigger/ or slightly nicer version of the idea, IMO.

Westbrook avatar Jul 20 '22 10:07 Westbrook

Another alternative on this concept: https://docs-groups-autofocus--spectrum-web-components.netlify.app/components/tabs/

Westbrook avatar Oct 13 '22 20:10 Westbrook

Does it feel like either of these are enough of a qualitative benefit to users to ship on this?

Westbrook avatar Jan 19 '23 19:01 Westbrook

I like the nav grouping and autofocus. Looks great.

najikahalsema avatar Jan 19 '23 20:01 najikahalsema