8000 NAS-136456 / 25.10 / Remove @angular/animations by undsoft · Pull Request #12181 · truenas/webui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NAS-136456 / 25.10 / Remove @angular/animations #12181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and t 8000 he 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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

undsoft
Copy link
Collaborator
@undsoft undsoft commented Jun 26, 2025

Changes:

Removes @angular/animations as this package is now deprecated.
Adds one replacement helper directive.
Forbids package use in linter.

Testing:

Test affected places.

Migrated all Angular animations to CSS animations following Angular team recommendations:
- Migrated 5 components from @angular/animations to CSS transitions/keyframes
- Created reusable AnimateOutDirective for animation lifecycle management
- Removed provideAnimations() from main.ts reducing bundle size
- Added ESLint rule to prevent future @angular/animations usage
- Updated tests to handle new animation timing patterns
@undsoft undsoft requested a review from a team as a code owner June 26, 2025 09:47
@undsoft undsoft requested review from RehanY147 and removed request for a team June 26, 2025 09:47
@undsoft
Copy link
Collaborator Author
undsoft commented Jun 26, 2025

time 2:00

@bugclerk bugclerk changed the title NAS-136456: Remove @angular/animations NAS-136456 / 25.10 / Remove @angular/animations Jun 26, 2025
@bugclerk
Copy link
Contributor

Copy link
codecov bot commented Jun 26, 2025

Codecov Report

Attention: Patch coverage is 90.69767% with 8 lines in your changes missing coverage. Please review.

Project coverage is 84.44%. Comparing base (86ddffd) to head (9b8cb99).
Report is 2 commits behind head on master.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...slide-in-container/slide-in-container.component.ts 62.50% 6 Missing ⚠️
...pp/directives/animate-out/animate-out.directive.ts 94.73% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12181   +/-   ##
=======================================
  Coverage   84.43%   84.44%           
=======================================
  Files        1747     1748    +1     
  Lines       61885    61955   +70     
  Branches     6885     6894    +9     
=======================================
+ Hits        52254    52316   +62     
- Misses       9631     9639    +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor
@RehanY147 RehanY147 left a comment

Choose a reason for hiding this comment

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

The animations for slide-in for new slide-ins seem buggy. Sometimes they work, sometimes they don't.

Screen.Recording.2025-06-28.at.12.37.01.AM.mov

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
0