on 'transaction' view, several UI policies are violated: #59
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/AutistMask#59
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
"Uniswap Universal Router" under protocol is underlined and appears clickable, but is not. this should probably have an etherscan link after it.
the "USDT " appears clickable but isn't, and the contract address violates standard address display guidelines (which means its missing its etherscan link), and the symbol is interposed between the color dot and the contract address (violation).
the raw data should always be listed last (not a policy violation, just common sense, as it's huge and pushes the (actually useful) txid off the screen)
Audited the transaction detail view (
src/popup/views/transactionDetail.js) against all README UI policies. Found and fixed two violations:1. Clickable affordance missing on Etherscan links
Policy: "Buttons use a visible border, padding, and a hover state (invert to white-on-black)."
Violation: All Etherscan external link
<a>tags (on From address, To address, and transaction hash) used onlyinline-flex items-centerwith no border or hover state — just a bare SVG icon.Fix: Extracted
etherscanLinkHtml()helper that appliesborder border-border px-1 hover:bg-fg hover:text-bg cursor-pointerto all Etherscan links.2. Address display incomplete when ENS name is present
Policy: "From: blockie + color dot + full address (tap to copy) + etherscan link — ENS name if available"
Violation: When an ENS name was resolved, the full address line was rendered without its color dot and without an Etherscan link. Only the ENS name line had the dot and link.
Fix: Both lines now show the color dot; the Etherscan link is on the full address line (the authoritative identifier).
Items audited and confirmed compliant:
hiddenclass)Fix submitted in PR #62.