dashboard: add configurable DAG animation speed presets#414
Open
Rustix69 wants to merge 11 commits into
Open
Conversation
Contributor
|
Add screen recording as well since it's ui change if possible, I'll review it asap |
Author
|
Hey @priyashuu I am attaching the Screen Recording Below Screencast.from.2026-04-10.01-55-42.webm |
There was a problem hiding this comment.
Pull request overview
Adds a user-configurable animation speed control to the Braid DAG visualization so users can slow down or speed up cohort/link animations during live WebSocket updates (Issue #407).
Changes:
- Introduces
Slow/Normal/Fastanimation speed presets and wires the selected speed into cohort animation duration/delay. - Updates link-direction dash animations to accept a dynamic duration so the repeating transition matches the selected speed.
- Updates
package-lock.jsonmetadata (peer flags) as part of the dependency lockfile state.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
dashboard/src/components/BraidPoolDAG/BraidPoolDAG.tsx |
Adds animation speed UI + timing scaling; gates animations during rapid WebSocket updates. |
dashboard/src/components/BraidPoolDAG/BraidPoolDAGUtils.ts |
Extends animateLinkDirection to accept a configurable duration. |
dashboard/package-lock.json |
Lockfile metadata changes (peer flags) included in the PR. |
Files not reviewed (1)
- dashboard/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…s, add animation-speed selector a11y label binding, and replace order-dependent default timing fallback
Author
|
Hey @priyashuu I had resolved the Copilot suggestions and implemented teh stuffs that were critical from my end its workign you can manually try it out once |
priyashuu
reviewed
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes Made (Summary)
Slow,Normal(default), andFastpresets.