-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat(14507): improve error message for failed txn in activity details view #29338
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. |
@@ -258,22 +279,18 @@ export default class TransactionListItemDetails extends PureComponent { | |||
data-testid="transaction-list-item-details-tx-status" | |||
> | |||
<div>{t('status')}</div> | |||
<div> |
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.
<TransactionListItemDetails {...props} />, | ||
mockStore, | ||
)), | ||
const result = renderWithProvider( |
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.
There is no asynchronous render here, can be simplified
@@ -96,20 +97,29 @@ export default function TransactionStatusLabel({ | |||
} | |||
} | |||
///: END:ONLY_INCLUDE_IF | |||
|
|||
return ( | |||
return shouldShowTooltip ? ( |
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.
display: flex; | ||
justify-content: flex-end; | ||
justify-content: space-between; |
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.
66c9bb0
to
0ad4d1b
Compare
Builds ready [0ad4d1b]
Page Load Metrics (1716 ± 74 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Looks good, but would it be worth adding an e2e test? |
0ad4d1b
to
43c3310
Compare
43c3310
to
9212499
Compare
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.
Nice work, Danica! Looks like a big improvement.
Builds ready [9212499]
Page Load Metrics (1691 ± 53 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
When we encounter a failed transaction:
failed
, hovering the status will render an error messagefailed
as well, with no hover effectRelated issues
Fixes: #14507
Figma: https://www.figma.com/design/ZzVQ6iu13C67K807Z1bg5I/Smart-Transactions-1.0?node-id=4296-25303&t=ff749RbiH6F4IUqk-0
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist