-
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
Add nonce to transaction details #8716
Conversation
0c24834
to
5f7d60e
Compare
const { gas, gasPrice, value, className, nativeCurrency, showFiat, totalInHex, gasUsed } = this.props | ||
|
||
const { gas, gasPrice, value, className, nonce, nativeCurrency, showFiat, totalInHex, gasUsed } = this.props | ||
console.log(nonce) |
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.
Leftover console.log
here
console.log(nonce) |
className="transaction-breakdown__value" | ||
value={nonce} | ||
/> | ||
) : '?' |
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.
I would recommend using "Unknown" here, since we already have it as a localized message
) : '?' | |
) : t('unknown') |
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.
Or just leave it blank, perhaps? 🤔
) : '?' | |
) : null |
5f7d60e
to
411f399
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.
LGTM!
Builds ready [411f399]
Page Load Metrics (607 ± 62 ms)
|
#8564 removed the nonce from the transaction list item UI as per the design, but the design intended for the nonce to be relocated into the new transaction details view. #8564 used an incremental approach for implementing new designs and simply moved the details into a popover but did not implement the new UI. Therefore, the nonce was erroneously removed from the user's view.
This PR is extending the old details UI to add the nonce to it until I can implement the new design.