Compare commits

..

3 Commits

Author SHA1 Message Date
clawbot
fa366c9724 fix: address all 3 violations from #59
All checks were successful
check / check (push) Successful in 22s
1. Protocol name now has Etherscan link (was appearing clickable but wasn't)
2. Token contract addresses: symbol shown separately, then color dot +
   full address + Etherscan link (symbol no longer interposed)
3. Raw data section moved after transaction hash (no longer pushes
   useful info off screen)
2026-02-28 10:41:14 -08:00
885730951f Merge branch 'main' into fix/59-transaction-view-ui-policies
All checks were successful
check / check (push) Successful in 21s
2026-02-28 19:38:54 +01:00
clawbot
d52c00f47a fix: enforce UI policies on transaction detail view
All checks were successful
check / check (push) Successful in 22s
- Add clickable affordance (border + hover state) to all Etherscan external
  links on addresses and transaction hash per clickable affordance policy
- Fix address display when ENS name is present: show color dot and Etherscan
  link on the full address line (previously only shown on ENS name line)
- Extract etherscanLinkHtml helper for consistent link styling

Closes #59
2026-02-28 10:27:15 -08:00

View File

@@ -40,7 +40,7 @@ function blockieHtml(address) {
function etherscanLinkHtml(url) { function etherscanLinkHtml(url) {
return ( return (
`<a href="${url}" target="_blank" rel="noopener" ` + `<a href="${url}" target="_blank" rel="noopener" ` +
`class="inline-flex items-center"` + `class="inline-flex items-center border border-border px-1 hover:bg-fg hover:text-bg cursor-pointer"` +
`>${EXT_ICON}</a>` `>${EXT_ICON}</a>`
); );
} }