Repository navigation
feat: show more of the recipient address in send - #47533
Conversation
Send shows the full typed address, and the address under a selected name keeps its end visible. The recipient picker keeps 10 characters on each side. Confirmation From/To, Interacting with and Spender rows use the row width and shorten the start. Co-authored-by: Daniel <dan437@users.noreply.github.com>
Co-authored-by: Daniel <dan437@users.noreply.github.com>
…er-addresses-396f Co-authored-by: Daniel <dan437@users.noreply.github.com>
✨ Files requiring CODEOWNER review ✨✅ @MetaMask/confirmations (4 files, +52 -8)
🫰 @MetaMask/core-platform (1 files, +1 -1)
|
Builds ready [4ba8b3f]
⚡ Performance Benchmarks (Total: 🟢 8 pass · 🟡 2 warn · 🔴 3 fail)
Bundle Size Diffs
|
Co-authored-by: Daniel <dan437@users.noreply.github.com>
Builds ready [b0ea580] [reused from 4ba8b3f]
⚡ Performance Benchmarks (Total: 🟢 8 pass · 🟡 2 warn · 🔴 3 fail)
Bundle Size Diffs
|
A smaller version follows. Co-authored-by: Daniel <dan437@users.noreply.github.com>
Send shows the full recipient address; under a name it stays on one line and is shortened from the start. The recipient picker shows 10 characters on each side of the ellipsis. Confirmation From/To, Interacting with and Spender rows use the available width on one line and keep the end of the address visible, reusing the existing showFullName prop and the name truncation styles. Co-authored-by: Daniel <dan437@users.noreply.github.com>
Co-authored-by: Daniel <dan437@users.noreply.github.com>
Builds ready [353b50f]
⚡ Performance Benchmarks (Total: 🟢 5 pass · 🟡 4 warn · 🔴 4 fail)
Bundle Size Diffs
|
…er-addresses-396f Co-authored-by: Daniel <dan437@users.noreply.github.com>
Builds ready [1f27d87]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 4 warn · 🔴 2 fail)
Bundle Size Diffs
|
…er-addresses-396f
The start-truncation and showFullName approach cut the 0x start off addresses in the To, Spender and Interacting with rows, put a second icon next to the row label and indented the To address. Restore main's middle-ellipsis rendering for these rows, along with their tests and snapshots.
Show 10 characters on each side of the selected recipient's address in the Send field, matching the recipient list, instead of the full or start-truncated address. Both the 0x start and the end stay visible and the address fits on one line at popup width.
Builds ready [76f330e]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 2 warn · 🔴 4 fail)
Bundle Size Diffs
|
…er-addresses-396f Co-authored-by: Daniel <dan437@users.noreply.github.com>
The transaction toast sits over the Activity tab. When it slides in mid-click, the click lands on the toast link and opens the transaction details, so the Sent row never shows. Wait for the confirmed toast and close it before clicking the tab. Co-authored-by: Daniel <dan437@users.noreply.github.com>
Builds ready [4d28a80]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 4 warn · 🔴 3 fail)
Bundle Size Diffs
|
|
|
No release label on PR. Adding release label release-13.57.0 on PR, as PR was added to branch 13.57.0 when release was cut. |



Description
Send cut recipient addresses to a short form (
0x0c54F...7AaFb), which can hide a lookalike address. The Send recipient field and the recipient picker now show 10 characters on each side of the ellipsis (the0xcounts toward the first 10), using the existingshortenString. The start and the end both stay visible, and the address stays on one line at popup width.Confirmation rows keep today's middle ellipsis. From/To already show 14 + 10 characters in the popup and the full address in fullscreen. On Interacting with / Spender, only about two more characters fit beside the label at popup width, so those rows are unchanged.
The Send ETH E2E tests now wait for the transaction toast and close it before opening Activity. The toast covers the Activity tab, so a click that landed while it slid in opened the transaction details instead and failed the test.
Changelog
CHANGELOG entry: Showed more of the recipient address in Send
Related issues
Fixes: CONF-2211
Manual testing steps
Repeat in the popup, the side panel and fullscreen.
0x12345678...ef12345678on one line, with the clear button beside it.0x09781764...ca217c7950.Screenshots/Recordings
After
Popup width, unnamed address and saved contact:
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Display-only truncation changes in Send UI plus test updates; no auth, signing, or transaction logic changes.
Reviewed by Cursor Bugbot for commit 4d28a80. Bugbot is set up for automated code reviews on this repo. Configure here.