-
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 origin to signature request confirmation page #10300
Conversation
Fixes #6071 The origin of the dapp that suggested signing has been added to the signature request confirmation page. This only applies to `eth_sign`, `personal_sign`, `eth_signTypedData`, and `eth_signTypedData_v1`. The confirmation page for `eth_signTypedData_v3` and `eth_signTypedData_v4` already featured the origin.
Builds ready [fe7861d]
Page Load Metrics (561 ± 26 ms)
|
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.
Looks good for now as a quick fix
I'll be pushing for design refresh for this page soon 😸 |
<div className="request-signature__headline"> | ||
{this.context.t('yourSigRequested')} | ||
<div className="request-signature__origin-row"> | ||
<div className="request-signature__origin-label">Origin:</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.
Should "Origin:" be translated?
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.
Of course 🤦 Yes it should, good catch!
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.
Resolved in a774097
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.
Left one comment, otherwise code looks good
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.
e2e fail seems to be unrelated. LGTM. Approved.
Builds ready [a774097]
Page Load Metrics (513 ± 41 ms)
|
Fixes #6071
The origin of the dapp that suggested signing has been added to the signature request confirmation page. This only applies to
eth_sign
,personal_sign
,eth_signTypedData
, andeth_signTypedData_v1
. The confirmation page foreth_signTypedData_v3
andeth_signTypedData_v4
already featured the origin.Screenshots
eth_sign
:eth_signTypedData
: