Skip to content
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

Show account name & full address in send view - issue #12346 #12415

Merged

Conversation

igorms-cons
Copy link
Contributor

Fixes: # Add user own accounts in the search

Explanation: Paste address was only searched in user address book.

Manual testing steps:
See issue #12346

@igorms-cons
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@igorms-cons igorms-cons self-assigned this Oct 20, 2021
@github-actions
Copy link
Contributor

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.

@igorms-cons
Copy link
Contributor Author

FROM the bug in
#12346

TO

send_accountdisplay_pr.mov

@igorms-cons igorms-cons force-pushed the fix/ux_papercuts_accountname_sendflow branch from d768c26 to a0b1638 Compare October 20, 2021 13:20
@ghost
Copy link

ghost commented Oct 21, 2021

Verified by QA

@igorms-cons igorms-cons marked this pull request as ready for review October 21, 2021 08:56
@igorms-cons igorms-cons requested a review from a team as a code owner October 21, 2021 08:56
david0xd
david0xd previously approved these changes Oct 21, 2021
ui/pages/send/send.scss Outdated Show resolved Hide resolved
@igorms-cons igorms-cons force-pushed the fix/ux_papercuts_accountname_sendflow branch from ce4ff14 to bb02f91 Compare October 22, 2021 07:41
@igorms-cons igorms-cons marked this pull request as draft October 22, 2021 07:42
@igorms-cons igorms-cons force-pushed the fix/ux_papercuts_accountname_sendflow branch 2 times, most recently from 6c04d61 to a2eb9cf Compare October 26, 2021 07:35
@ghost
Copy link

ghost commented Oct 26, 2021

Retested - verified by QA

@igorms-cons igorms-cons marked this pull request as ready for review October 26, 2021 12:54
@igorms-cons igorms-cons force-pushed the fix/ux_papercuts_accountname_sendflow branch from a2eb9cf to 5b3367f Compare October 26, 2021 14:22
</div>
{selectedName && (
{selectedName !== selectedAddress && (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could these ever be equal?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI @adonesky1 ,
for now yes because getAddressBookEntryOrAccountName function is returning the address if there is no name (in case of new address added) return entry && entry.name !== '' ? entry.name : address;
I can leave it empty string if no name and change back to what it was written in esn-input.js
{selectedName && (...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me know :) @adonesky1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes sense, I think approach in this PR is fine

@danjm danjm merged commit 5905451 into MetaMask:develop Nov 4, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants