Skip to content

Conversation

@jacob-hart
Copy link
Contributor

@jacob-hart jacob-hart commented Apr 3, 2024

Description

Adds the following animations

  • Area: data and opacity animations
  • Bar: data and opacity animations
  • Line: data and opacity animations
  • Scatter: opacity animations

The animations are enabled in a new story section called "Animations"

Known Bugs

  • TrellisHorizontalBarSwitch changes the data in a way that always does animation from zero, not from existing data. RESOLVED
  • TrendlineZero story doesn't change the data enough to trigger an animation from zero RESOLVED

How Has This Been Tested?

We built animations in a backwards-compatible way so the existing test suite would continue to work. We have incrementally added animation-focused tests, as well as extensive manual testing.

Note: there are some Sonar failures in this first revision. We are planning to fast-follow with fixes, but want this PR up to gather feedback earlier!

Screenshots (if appropriate):

Screen.Recording.2024-04-03.at.3.56.10.PM.mov
Screen.Recording.2024-04-01.at.10.27.19.AM.mov
Screen.Recording.2024-04-03.at.3.57.05.PM.mov

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.

gideontonkinson and others added 30 commits February 14, 2024 11:31
* chore: add timer value to signals

* fix: remove debug from chart.story.tsx

* chore: add tests for timer signal

* fix: remove debug
* chore: add timer value to signals

* fix: remove debug from chart.story.tsx

* chore: add tests for timer signal

* fix: remove debug

* feat: add previous data table to data

* fix: fix broken test

* fix: remove debug
@jacob-hart
Copy link
Contributor Author

Bug with trendline switch animations has been resolved:

Screen.Recording.2024-04-12.at.10.59.51.AM.mov

@github-actions
Copy link

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarCloud

@github-actions
Copy link

@ToyWalrus ToyWalrus requested a review from c-lamoureux October 22, 2024 16:13
@c-lamoureux c-lamoureux changed the base branch from byu-team-animations to main November 15, 2024 22:49
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.

6 participants