Skip to content
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 material-ui-pickers in pickers page #13697

Merged
merged 5 commits into from
Dec 16, 2018

Conversation

dmtrKovalenko
Copy link
Member

@dmtrKovalenko dmtrKovalenko commented Nov 26, 2018

Closes #13659

This PR adds demo for material-ui-pickers on pickers page. Additionally adds functionality for transpilling peer dependent on @material-ui/core packages correctly aliased to local core package

@eps1lon eps1lon added the docs Improvements or additions to the documentation label Nov 26, 2018
Copy link
Member

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any information about material-ui-pickers and IE 11?

docs/src/pages/demos/pickers/MaterialUIPickers.js Outdated Show resolved Hide resolved
next.config.js Outdated Show resolved Hide resolved
@@ -0,0 +1,42 @@
import React, { PureComponent } from 'react';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Named import doesn't add anything. It's equivalent to import React from 'react' and React.PureComponent. I say this only for consistency.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a pure component?

@mbrookes
Copy link
Member

mbrookes commented Nov 26, 2018

Hi @dmtrKovalenko, please don't use the Material-UI logo on your docs site, as it's likely to cause confusion as to whether it's an official project.

docs/src/pages/demos/pickers/pickers.md Outdated Show resolved Hide resolved
docs/src/pages/demos/pickers/pickers.md Outdated Show resolved Hide resolved
@oliviertassinari oliviertassinari added the component: date picker This is the name of the generic UI component, not the React module! label Nov 27, 2018
@oliviertassinari oliviertassinari changed the title Feature/mui pickers demo [docs] Add material-ui-pickers in pickers page Nov 27, 2018
@dmtrKovalenko
Copy link
Member Author

dmtrKovalenko commented Nov 27, 2018

@mbrookes Fixed all code review points 💪

@mbrookes
Copy link
Member

@dmtrKovalenko Great! I just need you to change the logo on the docs site.

@mbrookes mbrookes added the on hold There is a blocker, we need to wait label Nov 27, 2018
@oliviertassinari oliviertassinari force-pushed the feature/mui-pickers-demo branch 2 times, most recently from 4287a11 to e2cff7f Compare November 27, 2018 19:11
@dmtrKovalenko
Copy link
Member Author

dmtrKovalenko commented Nov 27, 2018

@mbrookes I am not going to change the logo. The project is peer dependent on material-ui, and we have used the material-ui logo from the project start and there were no issues with it.
Have no idea why we need to change the docs website.

@mbrookes
Copy link
Member

@dmtrKovalenko

we have used the material-ui logo from the project start and there were no issues with it

ISTR we asked you to change it back in May, and you agreed. Regardless, I'm asking you again now.

Have no idea why we need to change the docs website.

As explained briefly above, having the official Material-UI logo used by another project could lead to confusion as to whether is an official project. Having your own identity for your project also ensures you get credit where credit is due for your work. It works both ways.

@oliviertassinari oliviertassinari removed the on hold There is a blocker, we need to wait label Dec 15, 2018
@oliviertassinari
Copy link
Member

capture d ecran 2018-12-15 a 20 19 32

@mbrookes
Copy link
Member

@dmtrKovalenko Thanks!

Nice logo BTW.

@oliviertassinari
Copy link
Member

@dmtrKovalenko Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: date picker This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants