The token contract address on the confirm-tx page was displayed as plain text, inconsistent with how contract addresses appear elsewhere in the extension (addressToken, txStatus, send view, etc.).
Before
Plain text contract address with etherscan link
No color dot
No click-to-copy
After
Color dot via addressDotHtml() matching other views
Dashed underline with click-to-copy (writes to clipboard, shows "Copied!" flash)
Etherscan external link icon
Wrapped in flex items-center layout consistent with other contract displays
Also added showFlash import to support the copy feedback.
## Changes
The token contract address on the confirm-tx page was displayed as plain text, inconsistent with how contract addresses appear elsewhere in the extension (addressToken, txStatus, send view, etc.).
### Before
- Plain text contract address with etherscan link
- No color dot
- No click-to-copy
### After
- Color dot via `addressDotHtml()` matching other views
- Dashed underline with click-to-copy (writes to clipboard, shows "Copied!" flash)
- Etherscan external link icon
- Wrapped in `flex items-center` layout consistent with other contract displays
Also added `showFlash` import to support the copy feedback.
`docker build .` passes.
Closes #70
Add color dot (addressDotHtml), dashed underline styling, and click-to-copy
functionality to the token contract address on the confirm-tx page, matching
the display pattern used in addressToken, txStatus, and other views.
Closes#70
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Changes
The token contract address on the confirm-tx page was displayed as plain text, inconsistent with how contract addresses appear elsewhere in the extension (addressToken, txStatus, send view, etc.).
Before
After
addressDotHtml()matching other viewsflex items-centerlayout consistent with other contract displaysAlso added
showFlashimport to support the copy feedback.docker build .passes.Closes #70
Review: ✅ Clean
showFlashimport correctly added for copy feedbackaddressDotHtml()color dot matches other views (addressToken, txStatus)navigator.clipboard.writeText+ flash — consistent patternescapeHtml()applied to both display text anddata-copyattribute — XSS safedocker build .passesFixes #70 as described. Marked
merge-ready, assigned to @sneak for merge.Rebased onto main (clean rebase, no conflicts).
make checkpasses: 15/15 tests, lint clean, formatting clean. Force-pushed.4bee1f0e2btoa655c546b7