-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the 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
refactor: Replace redesign confirmation BottomModal with BottomSheet #13268
Conversation
no need because BottomSheetDialog provides background color
- affects only old confirmations - fix marginBottom on TransactionReview
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. |
|
app/components/Views/confirmations/Approval/__snapshots__/index.test.tsx.snap
Show resolved
Hide resolved
app/components/Views/confirmations/components/TransactionReview/index.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, I added some feedback that need to be addressed.
adding styles overwrites alignment applied styles (flex: 1) also allow inherit disabled styles to be used
removing this option seems to allow background to fade in naturally if this doesn't work try animation: 'fade'
app/components/Views/confirmations/components/Confirm/Footer/Footer.styles.ts
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13268 +/- ##
==========================================
+ Coverage 62.91% 63.46% +0.55%
==========================================
Files 2035 2095 +60
Lines 44539 45301 +762
Branches 6050 6236 +186
==========================================
+ Hits 28020 28750 +730
+ Misses 14685 14670 -15
- Partials 1834 1881 +47 ☔ View full report in Codecov by Sentry. |
|
Description
Updates:
Fixes:
Related issues
Fixes: #13267
Todo follow-up - Related Issue: #12656
Manual testing steps
Test BottomSheets and BlockaidBanner alerts work as expected. Test redesign confirmation page works as expected
Screenshots/Recordings
Before using BottomModal and no scroll behavior
CleanShot.2025-01-30.at.01.11.16.mp4
After using BottomSheet with scroll behavior
CleanShot.2025-01-30.at.02.18.53.mp4
Before 70% min height
After remove 70% min height
Before Transaction Review BlockaidBanner negative padding
**After Transaction Review BlockaidBanner positive padding **
Before Confirm.test console errors
After Confirm.test no console.errors
Pre-merge author checklist
Pre-merge reviewer checklist