-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs] Add Base installation page #30969
Conversation
@@ -92,7 +92,7 @@ function AppLayoutDocs(props) { | |||
productName = 'Material UI'; | |||
} | |||
if (asPathWithoutLang.startsWith('/base')) { | |||
productName = 'Base UI'; | |||
productName = 'MUI Base'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depends on #30960
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that 1. is an option as it's not self-sustained: need to be able to search it on Google and find what you are looking for.
For 2 vs. 3. No preferences, both could fly.
Maybe the only note I would have is either /base
in the URL is enough or either it should match the name. I think that depending on the option, here is what a great URL would look like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With "MUI Core" and "MUI X" above and below, I think "MUI Base" would match better with consistency.
p.s. I think renaming System to "MUI System" and "Data Grid" to "MUI Data Grid" would make the names look more in order as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @oliviertassinari - option 1 isn't the best. I don't have a strong preference. Also, since we decided not to follow the "MUI *" pattern for all the products, it opens up the possibility to rename Base to something more distinct.
Let's keep MUI Base for now so we don't keep the PR open for too long. It's easy to change it later on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm with Michal, to not use too much time here to discuss the name and instead maybe focus on the installation walkthrough itself. We can better resolve naming by looking at everything at once holistically later.
Co-authored-by: Marija Najdova <mnajdova@gmail.com>
@michaldudak I have changed to |
I would use MUI Base everywhere and merge. Until we are certain about the name, why using a new one? |
Agree - let's use MUI Base for now. |
@@ -480,13 +462,17 @@ function AppNavDrawer(props) { | |||
onClick={(event) => { | |||
setAnchorEl(event.currentTarget); | |||
}} | |||
endIcon={<ArrowDropDownRoundedIcon fontSize="small" sx={{ ml: -0.5 }} />} | |||
endIcon={ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Off-topic.
I have noticed this behavior for Windows users, I'm not sure how to solve this layout constraint issue:
layout.shift.mp4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can stretch the space a little bit more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might have misunderstood the previous comments, will change to MUI Base |
@michaldudak It is changed to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two comments from my side
sx={(theme) => ({ | ||
py: 0.1, | ||
minWidth: 0, | ||
fontSize: theme.typography.pxToRem(13), | ||
fontWeight: 500, | ||
lineHeight: 0, | ||
// lineHeight: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this to be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, thanks!.
metadata="MUI Core" | ||
versionSelector={renderVersionSelector([ | ||
{ text: `v${basePkgJson.version}`, current: true }, | ||
{ text: `v${basePkgJson.version.replace('.0.0', '')}`, current: true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How will it work with versions like *.0.1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@siriwatknp should we maybe extend a bit the width of the drawer instead of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaldudak with 5.0.1
, you won't have alpha-XX
which works fine in one line.
@mnajdova need to increase the width for 12px
to make it in one line.
@danilo-leal what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About the width increase, sure!
Are we removing the alpha word then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point, I don't think so. It should show the version from the package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, great! It seemed like we would, asked for clarification!
Added installation page for Base as a starting point for naming discussion 😂
What should be the name of the product?
.0.0
), otherwise it causes double lines.@michaldudak feel free to add more content here or in separate PRs (your call). This PR is intended to be a template for other pages.
Note: please neglect ProductDrawer refinement from this PR
Preview: https://deploy-preview-30969--material-ui.netlify.app/base/getting-started/installation/