fix: show wallet name for own addresses on approve-tx view (closes #21) #23
Reference in New Issue
Block a user
Delete Branch "fix/approval-address-title"
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?
Summary
Fixes #21: The approve-tx view was showing raw hex addresses for From/To fields even when they belonged to the user's own wallet. Other views (transaction detail, address detail) show the wallet name (e.g. "My Wallet — Address 1") via
addressTitle()— this was missing from the approval view.Changes
src/popup/views/approval.jsaddressTitlefrom helpersapprovalAddressHtml()now checks if the address belongs to a user walletTesting
make checkpasses (14 tests + prettier).are there any other display inconsistencies? please review and be thorough. file issues for any you find.
Audited all views for address display consistency. Found 4 places that don't use
addressTitle()for own wallet addresses:All filed and assigned to me.