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][LinearProgress] Fix buffer demo #42858

Merged
merged 3 commits into from
Jul 9, 2024

Conversation

mbrookes
Copy link
Member

@mbrookes mbrookes commented Jul 5, 2024

During this internal discussion I noticed that the LinearProgress buffer demo doesn't behave how one might expect (steady progress, erratic buffering), so this fixes that, and a couple of bugs where values can go out of range.

There's an argument (see above discussion) that it shouldn't be a progress indicator to begin with, and that the animated track is ugly and distracting, and no longer to spec, but those are separate issues altogether.

As it's just scratching an itch, I've added the "priority: low" label, but it shouldn't be more than five minutes of someone's time to review.

https://deploy-preview-42858--material-ui.netlify.app/material-ui/react-progress/#linear-buffer

@mbrookes mbrookes added docs Improvements or additions to the documentation component: LinearProgress The React component. labels Jul 5, 2024
@mbrookes mbrookes changed the title [docs][LinearBuffer] Fix demo [docs][LinearProgress] Fix buffer demo Jul 5, 2024
@mui-bot
Copy link

mui-bot commented Jul 5, 2024

Netlify deploy preview

https://deploy-preview-42858--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 330cc31

@mbrookes mbrookes added the priority: low To delay as much as possible label Jul 5, 2024
@aarongarciah aarongarciah self-requested a review July 8, 2024 13:04
Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

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

Looks good

@mbrookes mbrookes merged commit 25b67eb into mui:next Jul 9, 2024
19 checks passed
@mbrookes mbrookes deleted the linearbuffer-fix-demo branch July 9, 2024 17:39
joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: LinearProgress The React component. docs Improvements or additions to the documentation priority: low To delay as much as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants