-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix: Revert "feat(14507): improve error message for failed txn in activity… #31137
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
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. |
Builds ready [2bedafb]
Page Load Metrics (2678 ± 1464 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
So this PR reverts the Banner and reimplements the tooltip feature instead? Will be changed in favor of using the tooltip and removing the banner? When I send a Failed Transaction after deployng failing contract on test dapp, and inspect the failed transactions. I see: Just getting clarification that this PR is intended to remove the banner and revert this view to having the failed (with hover) functionality. |
@httpJunkie, That is correct: This PR reverts all the changes in #29338. |
ui/components/app/transaction-status-label/transaction-status-label.test.js
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.
mostly lgtm! one request to readd
support for
'should render statusText properly when is custodyStatusDisplayText is defined' / 'should display the correct status text and tooltip'
or
'renders ${name} properly and tooltip' / 'renders pure text for status when shouldShowTooltip is specified as false'
Nice persisting the specific query tests rather than the snapshot tests for ui/components/app/transaction-status-label/transaction-status-label.test.js 👍🏼
Builds ready [1c8a598]
Page Load Metrics (3281 ± 1498 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
@@ -372,8 +372,6 @@ function TransactionListItemInner({ | |||
showSpeedUp={shouldShowSpeedUp} | |||
isEarliestNonce={isEarliestNonce} | |||
onCancel={cancelTransaction} | |||
showCancel={isPending && !hasCancelled && !isBridgeTx} | |||
showErrorBanner={Boolean(error)} |
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.
this looks like the banner message:
"This transaction would have cost you extra fees, so we stopped it. Your money is still in your wallet." for all transaction message errors detected. This may have been misleading.
as mentioned in a Slack thread, this appears to have been cherry-picked into v12.16 cc: @dbrans |
@@ -64,10 +62,9 @@ | |||
} | |||
|
|||
&__operations { | |||
margin: 0 16px 16px 16px; | |||
margin: 0 0 16px 16px; |
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.
… details view (#29338)"
This reverts commit d510d5c.
Description
This change was intentional, but it turned out to be incorrect. @DDDDDanica based her PR on this ticket linked below, which refers to a Figma file. However, the missing context is that the Figma file included designs specifically for Smart Transactions.
[UX Improvement]: Transaction Failure Message Not Easily Found #14507:
Related issues
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist