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

Improves bar visualizer animations and adds initializing state #987

Merged
merged 2 commits into from
Sep 29, 2024

Conversation

mattherzog
Copy link
Member

['connecting', 2000],
['initializing', 2000],
  • Updated connecting interval to smooth out animation. These intervals shouldn't really be intervals as they are divided by barCount. What we actually want is to define the overall length of the animation, in this case 2s, and divide that by barCount. This code works, but feels a bit indirect to call it 'intervals' with this update.

  • Added an entry for 'initializing' as this wasn't supported and produced animation glitching.

  • Updated the connection sequence as to not repeat first/last when animation repeats.

Copy link

changeset-bot bot commented Sep 29, 2024

🦋 Changeset detected

Latest commit: 5db67ca

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@livekit/components-react Patch
@livekit/component-example-next Patch
@livekit/components-js-docs Patch
@livekit/component-docs-storybook Patch
@livekit/components-docs-gen Patch

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

Copy link
Contributor

github-actions bot commented Sep 29, 2024

size-limit report 📦

Path Size
LiveKitRoom only 1.92 KB (0%)
LiveKitRoom with VideoConference 28.86 KB (0%)
All exports 35.72 KB (0%)

@mattherzog
Copy link
Member Author

updated-connection-sequence.mov

Copy link
Contributor

@lukasIO lukasIO left a comment

Choose a reason for hiding this comment

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

🧈

@mattherzog mattherzog merged commit 11bdec8 into main Sep 29, 2024
3 checks passed
@mattherzog mattherzog deleted the herzog/barvisualizer-fixes branch September 29, 2024 17:00
@github-actions github-actions bot mentioned this pull request Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants