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

library: Update Progress Bar demo #324

Merged
merged 2 commits into from
Jun 17, 2023
Merged

Conversation

AkshayWarrier
Copy link
Contributor

Closes #322
I haven't made any changes to the UI, and I didn't add another progress bar that makes use of setInterval because to pulse the progress bar I'm making use of a setInterval anyway.

Copy link
Contributor

@andyholmes andyholmes left a comment

Choose a reason for hiding this comment

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

LGTM, just needs a matching reset for the pulsed bar when the operation completes. Good to see that real ellipses, too 👍

src/Library/demos/Progress Bar/main.js Show resolved Hide resolved
src/Library/demos/Progress Bar/main.js Show resolved Hide resolved
@AkshayWarrier
Copy link
Contributor Author

Also, the animation progress bar and the pulse progress bar are not completely synchronized because of the way setInterval works.

Copy link
Contributor

@andyholmes andyholmes left a comment

Choose a reason for hiding this comment

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

LGTM

@andyholmes andyholmes merged commit 8de3874 into main Jun 17, 2023
@sonnyp sonnyp deleted the akshaywarrier/progressbar branch June 17, 2023 19:57
sonnyp pushed a commit to SoNiC-HeRE/Workbench that referenced this pull request Aug 13, 2023
* library: Update Progress Bar demo
* Progress Bar: Reset the pulse progress bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port usage of setInterval to AdwAnimation in Progress Bar demo
3 participants