-
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
warn user when sending from different account #8601
Conversation
ui/app/components/ui/sender-to-recipient/sender-to-recipient.component.js
Outdated
Show resolved
Hide resolved
ui/app/components/ui/sender-to-recipient/sender-to-recipient.component.js
Outdated
Show resolved
Hide resolved
e319370
to
cad1c2a
Compare
Builds ready [cad1c2a]
Page Load Metrics (623 ± 44 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 aside from the missing checksummedSenderAddress
prop!
ui/app/components/ui/sender-to-recipient/sender-to-recipient.component.js
Outdated
Show resolved
Hide resolved
ui/app/components/ui/sender-to-recipient/sender-to-recipient.component.js
Outdated
Show resolved
Hide resolved
cad1c2a
to
9028060
Compare
6b99573
to
b027e3e
Compare
b027e3e
to
654efd8
Compare
ui/app/components/ui/sender-to-recipient/sender-to-recipient.component.js
Outdated
Show resolved
Hide resolved
Builds ready [654efd8]
Page Load Metrics (659 ± 68 ms)
|
02d2cd3
to
468d5ec
Compare
Builds ready [468d5ec]
Page Load Metrics (626 ± 61 ms)
|
@Gudahtt could use a re-review when you have time, included a commit breakdown in the description. |
468d5ec
to
08d94ee
Compare
Builds ready [08d94ee]
Page Load Metrics (627 ± 70 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.
What about updating the copy to something a little more concise? "Is this the correct account? It's different from the currently selected account in your wallet" |
@rekmarks -- Thanks for finding that! The current experience on develop is actually pretty broken. First off, the hover state only works half of the time for the recipient address hover... only if you go from sender tooltip active -> move the mouse over directly to the recipient. If you enter the recipient address from anywhere else it doesn't work. Furthermore, clicking it doesn't update the message to say "Copied!" because it doesn't actually trigger a set state call. To address this:
all of this is isolated to the latest commit. |
Builds ready [2253f80]
Page Load Metrics (633 ± 57 ms)
|
@rachelcope made the copy change. |
Builds ready [f48f070]
Page Load Metrics (644 ± 61 ms)
|
91ba841
to
39c6412
Compare
39c6412
to
8dd1e78
Compare
Builds ready [8dd1e78]
Page Load Metrics (673 ± 43 ms)
|
8dd1e78
to
9fefb4b
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 [9fefb4b]
Page Load Metrics (559 ± 60 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.
LGTM!
task: Warn the user when the "from" account of confirmation is different from the selected account
Trello card: https://trello.com/c/ZijoEYIz
Figma: https://www.figma.com/file/CvD7nhQVeSEB1QuSy3XhtY/oCap-%2F-Login-Per-Site?node-id=2783%3A144
Screenshot