Compare commits
base: sneak/AutistMask:5395fc6ede6a15397ca76a97d6ae719a9a37bca8
sneak/AutistMask:main
sneak/AutistMask:issue-398-fresh-provider-uuid
sneak/AutistMask:issue-369-approval-amount-vocabulary
sneak/AutistMask:next
sneak/AutistMask:feat/issue-131-transaction-view-layout
sneak/AutistMask:fix/116-timestamps-include-timezone
sneak/AutistMask:feature/expanded-warnings
sneak/AutistMask:fix/cross-wallet-duplicate-detection
sneak/AutistMask:feature/copy-flash-feedback
sneak/AutistMask:feature/issue-82-new-address-warning
sneak/AutistMask:feature/82-warn-new-address
sneak/AutistMask:issue-99-block-number-external-link
sneak/AutistMask:issue-99-block-number-styling
sneak/AutistMask:feature/82-zero-history-warning
sneak/AutistMask:fix/issue-99-block-number-link-copy
sneak/AutistMask:fix/99-block-number-clickable
sneak/AutistMask:fix/87-consistent-error-display-v2
sneak/AutistMask:fix/87-consistent-error-display
sneak/AutistMask:fix/consistent-error-display
sneak/AutistMask:fix/77-confirm-tx-persist
sneak/AutistMask:fix/issue-72-address-token-tx-history
sneak/AutistMask:fix/70-confirm-tx-contract-display
sneak/AutistMask:fix/issue-58-receive-address-consistency
sneak/AutistMask:fix/55-swap-show-own-address
sneak/AutistMask:feature/show-private-key
..
compare: sneak/AutistMask:8622988a6e01ceb3c9932a7bb7a47c2e7e2b9d97
sneak/AutistMask:issue-398-fresh-provider-uuid
sneak/AutistMask:issue-369-approval-amount-vocabulary
sneak/AutistMask:next
sneak/AutistMask:main
sneak/AutistMask:feat/issue-131-transaction-view-layout
sneak/AutistMask:fix/116-timestamps-include-timezone
sneak/AutistMask:feature/expanded-warnings
sneak/AutistMask:fix/cross-wallet-duplicate-detection
sneak/AutistMask:feature/copy-flash-feedback
sneak/AutistMask:feature/issue-82-new-address-warning
sneak/AutistMask:feature/82-warn-new-address
sneak/AutistMask:issue-99-block-number-external-link
sneak/AutistMask:issue-99-block-number-styling
sneak/AutistMask:feature/82-zero-history-warning
sneak/AutistMask:fix/issue-99-block-number-link-copy
sneak/AutistMask:fix/99-block-number-clickable
sneak/AutistMask:fix/87-consistent-error-display-v2
sneak/AutistMask:fix/87-consistent-error-display
sneak/AutistMask:fix/consistent-error-display
sneak/AutistMask:fix/77-confirm-tx-persist
sneak/AutistMask:fix/issue-72-address-token-tx-history
sneak/AutistMask:fix/70-confirm-tx-contract-display
sneak/AutistMask:fix/issue-58-receive-address-consistency
sneak/AutistMask:fix/55-swap-show-own-address
sneak/AutistMask:feature/show-private-key
1
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
8622988a6e |
fix: unify address display with shared renderAddressHtml utility
check / check (push) Successful in 12s
All address rendering now uses a single renderAddressHtml() function in helpers.js that produces consistent output everywhere: - Color dot (deterministic from address) - Full address with dashed-underline click-to-copy affordance - Etherscan external link icon Refactored all callsites across 9 view files: - approval.js: approvalAddressHtml now delegates to renderAddressHtml, added attachCopyHandlers for click-to-copy on approve-tx/sign/site views - confirmTx.js: confirmAddressHtml uses renderAddressHtml, token contract address uses renderAddressHtml with attachCopyHandlers - txStatus.js: toAddressHtml delegates to renderAddressHtml - transactionDetail.js: txAddressHtml delegates to renderAddressHtml, decoded calldata addresses use renderAddressHtml - home.js: active address display uses renderAddressHtml - send.js: from-address display uses renderAddressHtml - receive.js: address block uses formatAddressHtml (which delegates to renderAddressHtml), removed separate etherscan link element - addressDetail.js: address line uses renderAddressHtml, export-privkey address uses renderAddressHtml - addressToken.js: address line and contract info use renderAddressHtml Also consolidated: - EXT_ICON SVG constant moved to helpers.js (removed 6 duplicates) - copyableHtml() moved to helpers.js (removed duplicate in transactionDetail) - etherscanLinkHtml() moved to helpers.js (removed duplicates) - attachCopyHandlers() moved to helpers.js (removed duplicate in txStatus) - Removed unused local functions (etherscanTokenLink, etherscanAddressLink) - Cleaned up unused imports across all files closes #97 |