-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix: Hide redesigned contract interaction confirmation #27346
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. |
44f0a42
to
bb66a70
Compare
bb66a70
to
cdc96be
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## Version-v12.3.0 #27346 +/- ##
===================================================
- Coverage 70.24% 70.07% -0.17%
===================================================
Files 1426 1432 +6
Lines 50239 50428 +189
Branches 13954 13990 +36
===================================================
+ Hits 35289 35335 +46
- Misses 14950 15093 +143 ☔ View full report in Codecov by Sentry. |
Builds ready [cdc96be]
Page Load Metrics (1854 ± 60 ms)
|
This was a back up plan for the release, not needed anymore |
Description
Hides redesigned contract interaction confirmation for this release.
Even if the user opts into the redesigned confirmations through the experimental settings, s/he will not see any redesigned transaction confirmations.
Some tests in
useConfirmationAlertMetrics
and one fromuseConfirmationAlertMetrics
were removed because the metrics event is only sent for enabled redesign transaction types which is now emptyTests for transactions in useCurrentConfirmation similarly expected contract interaction as a transaction type since it was the first implemented.
Tests for
useSigningOrSubmittingAlerts
and usePendingTransactionAlertssimilarly used
isValidType` shown above to determine wether or not to show the alert, so a few test cases had to be amended.One snapshot for the header component had to be updated because the advanced details toggle button is only shown for redesigned transaction types.
One integration test for the contract interaction type was skipped.
Eight e2e tests for this transaction type, one for metrics and one related to snaps functionality for this transaction type were skipped.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist