-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add an indeterminate linear progress bar #3429
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 2533ded The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Do we need a site doc example update?
Otherwise looks good
I've updated the original example but I'm not sure if it should be separate? Will need some wording around it if that's the case |
I think we need some extra design guidance on when to use and avoid. maybe MUI would have something to get us started |
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.
Left a few comments. but we should also show going from an indeterminate to a determinate progress bar.
Do you mean having an example that toggles between those two states? |
We need an example that shows a realistic use-case. |
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 marking it as needs changes to make it clear
@navkaur76 any thoughts on the best example for this? |
Co-authored-by: Josh Wooding <[email protected]>
Updated description of when to use indeterminate linear progress
Co-authored-by: Josh Wooding <[email protected]>
80f55e2
to
2533ded
Compare
@@ -43,8 +45,8 @@ export const LinearProgress = forwardRef<HTMLDivElement, LinearProgressProps>( | |||
hideLabel = false, | |||
max = 100, | |||
min = 0, | |||
value = 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 considered a breaking change ?
Should we leave this as 0 and opt into indeterminate ?
At some point a breaking change release we could make this the default ?
Add indeterminate variant to
LinearProgress
#3354