-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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] Handle a few docs-feedback #36977
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ From now on, the `Grid` v1 and `Grid` v2 refer to the import as: | |
|
||
```js | ||
import Grid from '@mui/material/Grid'; // Grid version 1 | ||
import Grid2 from '@mui/material/Unstable_Grid2'; // Grid version 2 | ||
import Grid from '@mui/material/Unstable_Grid2'; // Grid version 2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency with the text above. Reported in https://mui-org.slack.com/archives/C041SDSF32L/p1681137941293499. |
||
``` | ||
|
||
::: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ It's possible to customize the control icons. | |
|
||
## Pagination ranges | ||
|
||
You can specify how many digits to display either side of current page with the `siblingRange` prop, and adjacent to the start and end page number with the `boundaryRange` prop. | ||
You can specify how many digits to display either side of current page with the `siblingCount` prop, and adjacent to the start and end page number with the `boundaryCount` prop. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
{{"demo": "PaginationRanges.js"}} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,7 @@ Feel free to submit a pull request! | |
### Sparkline | ||
|
||
- [mui-plus](https://mui-plus.vercel.app/components/Sparkline): A sparkline is a tiny chart that can be used to indicate the trend of a value. | ||
|
||
## Admin frameworks | ||
|
||
- [React Admin](https://github.com/marmelab/react-admin): A frontend Framework for building data-driven applications running in the browser on top of REST/GraphQL APIs. | ||
Comment on lines
+60
to
+62
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With https://mui.zendesk.com/agent/tickets/7593 we could add refine too. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ const sortFunctions = { | |
}; | ||
|
||
export default function Showcase() { | ||
const [sortFunctionName, setSortFunctionName] = React.useState('dateAdded'); | ||
const [sortFunctionName, setSortFunctionName] = React.useState('similarWebVisits'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The traffic makes a lot more sense IMHO, it sends trust. |
||
const sortFunction = sortFunctions[sortFunctionName]; | ||
const t = useTranslate(); | ||
|
||
|
@@ -54,7 +54,7 @@ export default function Showcase() { | |
}; | ||
|
||
return ( | ||
<Box sx={{ flexGrow: 1 }}> | ||
<Box sx={{ flexGrow: 1, mx: [2, 0] }}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
<FormControl sx={{ mb: 4, minWidth: 120 }}> | ||
<InputLabel htmlFor="sort">Sort by</InputLabel> | ||
<Select | ||
|
@@ -101,9 +101,11 @@ export default function Showcase() { | |
<CardMedia | ||
component="img" | ||
loading="lazy" | ||
width="600" | ||
height="450" | ||
Comment on lines
+104
to
+105
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix layout shift when loading |
||
src={`/static/images/showcase/${app.image}`} | ||
sx={{ | ||
minHeight: 200, | ||
height: 'auto', | ||
color: (theme) => | ||
theme.palette.mode === 'dark' ? 'grey.900' : 'grey.100', | ||
bgcolor: 'currentColor', | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ const appList = [ | |
description: | ||
'QuintoAndar is a company that uses technology and ' + | ||
'design to simplify the rental of residential real estate.', | ||
image: 'quintoandar.png', | ||
image: 'quintoandar.jpg', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was looking like crap, so redo a few screenshots, following a process close to https://www.notion.so/mui-org/Store-Screenshots-for-product-7a4cf2df5cb94389ab6adc80b6aeb054. We would need to retake all the screenshots, but since we might rework from scratch this page, I only did the first two. https://mui.com/material-ui/discover-more/showcase/ burns my eye 🙃 |
||
link: 'https://www.quintoandar.com.br/', | ||
similarWebVisits: 8500, | ||
dateAdded: '2019-05-08', | ||
|
@@ -47,7 +47,7 @@ const appList = [ | |
description: | ||
'OpenClassrooms is an online platform offering top quality, ' + | ||
'education-to-employment programs and career coaching services for students worldwide. ', | ||
image: 'openclassrooms.jpg', | ||
image: 'openclassrooms.png', | ||
link: 'https://openclassrooms.com/en/', | ||
similarWebVisits: 6000, | ||
dateAdded: '2018-01-34', | ||
|
@@ -319,16 +319,6 @@ const appList = [ | |
stars: 10, | ||
dateAdded: '2018-01-23', | ||
}, | ||
{ | ||
title: 'DropDesk', | ||
description: | ||
'DropDesk creates unique workspaces & experiences by converting unused space into vibrant ' + | ||
'coworking spaces. Meet, work and gain a sense of community.', | ||
image: 'dropdesk.jpg', | ||
link: 'https://drop-desk.com/', | ||
similarWebVisits: 50, | ||
dateAdded: '2019-01-01', | ||
}, | ||
{ | ||
title: 'npm registry browser', | ||
description: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,12 @@ If you want to start with a more complete and real-world example, you could take | |
- All PWA features included (SW, Notifications, deferred installation prompt and more) | ||
- Optimized and scalable performance (all ~100 points on Lighthouse) | ||
|
||
<!-- TODO: revert this once it is migrated to v5 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They migrated a year ago. |
||
- [React Admin](https://github.com/marmelab/react-admin) | ||
|
||
- ![stars](https://img.shields.io/github/stars/marmelab/react-admin.svg?style=social&label=Star) | ||
- A frontend Framework for building B2B applications running in the browser | ||
- On top of REST/GraphQL APIs, using ES6, React and Material Design | ||
|
||
- [React SaaS Template](https://github.com/dunky11/react-saas-template): | ||
|
||
- ![stars](https://img.shields.io/github/stars/dunky11/react-saas-template.svg?style=social&label=Star) | ||
|
@@ -62,17 +67,6 @@ If you want to start with a more complete and real-world example, you could take | |
- Fully routed using react-router | ||
- Lazy loads components to boost performance | ||
- Components for statistics, text with emoji support, image upload and much more... | ||
--> | ||
|
||
<!-- TODO: revert this once it is migrated to v5 | ||
- [Material Sense](https://github.com/alexanmtz/material-sense): | ||
|
||
- ![stars](https://img.shields.io/github/stars/alexanmtz/material-sense.svg?style=social&label=Star) | ||
- Graph using recharts | ||
- React Router included with a navigation example | ||
- A docker container with an Nginx server for production build | ||
- Created with Create React App | ||
--> | ||
Comment on lines
-67
to
-75
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's abandoned now. |
||
|
||
### Paid | ||
|
||
|
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 have seen at least 3 people complain about this. It's hard to find the source. Proof:
I think that we miss some kind of process for this to be prioritized, it seems to be a clear quick-win.