-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Select] Smaller demos #21642
Comments
Your link is not working |
fixed |
We had a first iteration on this page to reduce the number of components on each demo. Cc @joshwooding, do you see any simplification potential left? |
Keep the number of examples the same only separate them, give every variation of for example this Select an own demo. |
Which URL did you use? |
https://material-ui.com/components/selects/ But it's the same with almost every component. |
Thanks, agree, I think that we could simplify the demos :) |
Would you be interested in working on it? |
I would have time from September until then I can't say 100% |
@oliviertassinari I can take this. So, my idea would be to separate the demos in max. 4 components per demo. Another option I like, is when the variants can be selected and the code will be generated based on that. What do you think @ivanjeremic and @oliviertassinari ? |
@cjoecker I don't know about a hard limit at 4, I think that we would benefit from creating smaller chunks, especially so that people spent less time scrolling the source of the demos. Playgrounds can be interesting, but only for the bottom of the page, I think that it makes it hard to discover the content. |
@oliviertassinari good point. I was not thinking about a hard limit. I was more thinking about a balance of not too much scrolling because of too many small demos but also not too much scrolling because the examples are too long. I will experiment a bit... |
I think people have no problem with scrolling, scrolling is easier than searching what belongs to the component you want in a big chunk of code example. |
Can we have things like this removed from the docs? https://i.gyazo.com/93dc156541e3b7939022a4239747bd94.png
It makes it hard to find components that we need I would suggest 1 element per example.
The text was updated successfully, but these errors were encountered: