Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
|
@SocketSecurity ignore npm/framer-motion@6.5.1 |
✨ Files requiring CODEOWNER review ✨🔑 @MetaMask/accounts-engineers (2 files, +137 -129)
✅ @MetaMask/confirmations (2 files, +21 -17)
👨🔧 @MetaMask/core-extension-ux (4 files, +125 -5)
📜 @MetaMask/policy-reviewers (12 files, +864 -0)
Tip Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers. 🔄 @MetaMask/swaps-engineers (2 files, +20 -12)
🔐 @MetaMask/web3auth (1 files, +16 -6)
|
Builds ready [4f618e1]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
The AnimatePresence wrapper from framer-motion in routes.component.tsx was causing multiple CI failures: 1. Lint: prettier formatting error in animated.tsx 2. Unit tests: bridge snapshot mismatch from extra Animated wrapper div 3. Integration tests: 'Found multiple elements' errors because AnimatePresence keeps exiting route content in the DOM during transitions, causing duplicate text elements in jsdom 4. E2E tests: all onboarding tests timing out because AnimatePresence combined with React Router's useRoutes creates stale route content that interferes with element detection Solution: Replace framer-motion with CSS-only animations. - Remove AnimatePresence from routes.component.tsx - Simplify Animated component to use CSS page-enter-animation class - Revert framer-motion additions to add-funds-modal and receive-modal - Remove framer-motion dependency, type declaration, and lavamoat policies - Update bridge snapshot test Co-authored-by: Francis Nepomuceno <n3ps@users.noreply.github.com>
This reverts commit 55551f0.
…h exit support
The AnimatePresence wrapper around all routes in routes.component.tsx
caused CI failures by keeping exiting route content in the DOM during
transitions (duplicate elements in tests, timeouts in E2E).
Changes:
- Remove AnimatePresence + keyed wrapper from routes.component.tsx
- Rewrite Animated component using CSS animations with forwardRef:
- Enter animation via page-enter-animation CSS class on mount
- Exit animation via triggerExit() which swaps to page-exit-animation
class and waits for animationend (with 250ms fallback timeout)
- Gracefully resolves synchronously in test environments (no CSS)
- Wire exit animations into back-button handlers for Bridge, Account
List, and Address List pages via animatedRef.current.triggerExit()
- Keep framer-motion for local modal animations (add-funds-modal)
- Update bridge snapshot
Co-authored-by: Francis Nepomuceno <n3ps@users.noreply.github.com>
Builds ready [6e3d7dc]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Co-authored-by: Francis Nepomuceno <n3ps@users.noreply.github.com>
Builds ready [fa33e27]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
…Animated Co-authored-by: Francis Nepomuceno <n3ps@users.noreply.github.com>
These functions were removed from the codebase when the swaps controller was deleted (PR #39900). The merge with main dropped the imports but left the call sites, causing TS2304 errors. Co-authored-by: Francis Nepomuceno <n3ps@users.noreply.github.com>
|
Builds ready [aba8525]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|


Description
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist