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] Set the infrastructure for a full page demo #13314

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Oct 20, 2018

It's rendering the demos in an iframe. This way, we can write code that matches people needs. They can directly copy & paste the demo in their app 🦈 .

Closes #11179.
Closes #13304.

capture d ecran 2018-10-20 a 22 17 43

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Oct 20, 2018
@oliviertassinari oliviertassinari force-pushed the docs-infrastructure-full-page-demos branch 6 times, most recently from 550bd49 to e12e014 Compare October 20, 2018 18:56
@mbrookes
Copy link
Member

This one seems to be coming up blank for me: https://deploy-preview-13314--material-ui.netlify.com/demos/app-bar/#bottom-app-bar

@oliviertassinari
Copy link
Member Author

@mbrookes It's still wip. Thanks for reporting that major issue 😱.

@oliviertassinari oliviertassinari force-pushed the docs-infrastructure-full-page-demos branch from e12e014 to cac39a1 Compare October 20, 2018 20:17
@oliviertassinari oliviertassinari merged commit 06967ec into mui:master Oct 20, 2018
@oliviertassinari oliviertassinari deleted the docs-infrastructure-full-page-demos branch October 20, 2018 20:32
@oliviertassinari
Copy link
Member Author

back to 100% test coverage. I have introduced a regression earlier without noticing it.

<main className={classes.content}>
<div className={classes.toolbar} />
<Typography paragraph>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
Copy link
Contributor

Choose a reason for hiding this comment

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

recently discovered there is a package for generating texts like this: https://www.npmjs.com/package/lorem-ipsum

Copy link
Member Author

Choose a reason for hiding this comment

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

We could have used a dependency, but here, I'm optimizing for copy & paste. Users might not have lorem-ipsum installed.

@mui mui deleted a comment from VaibhaviDhopate Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants