Skip to content

Feat/s2 animation ticker - #964

Open
c-lamoureux wants to merge 7 commits into
mainfrom
feat/s2-animation-ticker
Open

c-lamoureux wants to merge 7 commits into
mainfrom
feat/s2-animation-ticker

Conversation

@c-lamoureux

Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

c-lamoureux and others added 7 commits October 1, 2026 15:56
- Replace each chart's always-on Vega timer with a page-wide on-demand rAF ticker
  (animationTicker): idle charts do no work, off-screen charts pause, 8ms frame budget.
- Specs emit an animationActive signal (hover and draw-in conditions) so the ticker
  knows when a chart can sleep; standalone Vega consumers keep the timer.
- Draw-in clock starts on the first tick so the first painted frame is at 0% progress.
- Add `yarn perf:animation` benchmark (drawIn/hover/idle scenarios, presets).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…udget clock comment

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…omments

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…a data source

The data-backed condition only fed the timer filter, which the ticker strips, and benchmarked slightly slower.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
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.

1 participant