preview
preview copied to clipboard
Sort & Group components
- [ ] Create sections of components
- [ ] Assign components to sections
- [ ] Can a component be assigned multiple sections?
- [ ] Navigate to the section route
- [ ] What do we see on the section page?
Does using directory name as the group name make sense? Should we create a group tree or use file's parent directory as group?
Does using directory name as the group name make sense?
It does makes sense to a lot of my users. But I know that some user prefer a flat structure for their components. I would see the directory name be a great default grouping.
Should we create a group tree or use file's parent directory as group?
As a user I would like the directory structure to be the default grouping. Then a few options in the config file:
flat: booleanshould turn the list completely flat ignoring the folder structuresections: Array<Sections>similar to the sections config in styleguidist where grouping is entirely manual using globs & ignores