fix: make token contract display on confirm-tx consistent with other views #73
Reference in New Issue
Block a user
Delete Branch "fix/confirm-tx-contract-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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