Transaction hashes render in accent-coloured, underline-on-hover link styling with a copy button beside
them, but clicking does nothing. Users reasonably expect to land on the block explorer — reported
alongside the unstake issue: "when i click the tx hash it should bring me to the explorer".
No explorer URL is configured anywhere in the repo, so this is a missing feature combined with a
misleading affordance.
Steps to reproduce
- Open
/app/transactions (or any view listing transaction hashes)
- Click a hash
- Nothing happens
Root cause
packages/ui/src/components/TransactionHash.tsx:26 renders a <button>, not a link, and onClick is
optional (:10):
<Button variant={'link'} className={'!p-0 text-accent border-none h-5 font-mono'} onClick={onClick}>
{truncateHash}
</Button>
With no onClick passed the button keeps variant="link" styling
(packages/ui/src/components/button.tsx:28 — accent colour plus hover:underline) but has no handler.
Six call sites pass no onClick:
apps/middleman/src/app/detail/TransactionDetail.tsx:376
apps/middleman/src/app/app/(lists)/transactions/table/columns.tsx:75
apps/middleman/src/app/admin/(internal)/transactions/table/columns.tsx:80
apps/middleman/src/app/app/(lists)/suppliers/ActivitiesSection.tsx:118
apps/provider/src/app/admin/details/TransactionDetail/index.tsx:137
apps/provider/src/app/admin/(internal)/keys/ActivitiesSection.tsx:128
Transaction hashes render in accent-coloured, underline-on-hover link styling with a copy button beside
them, but clicking does nothing. Users reasonably expect to land on the block explorer — reported
alongside the unstake issue: "when i click the tx hash it should bring me to the explorer".
No explorer URL is configured anywhere in the repo, so this is a missing feature combined with a
misleading affordance.
Steps to reproduce
/app/transactions(or any view listing transaction hashes)Root cause
packages/ui/src/components/TransactionHash.tsx:26renders a<button>, not a link, andonClickisoptional (
:10):With no
onClickpassed the button keepsvariant="link"styling(
packages/ui/src/components/button.tsx:28— accent colour plushover:underline) but has no handler.Six call sites pass no
onClick:apps/middleman/src/app/detail/TransactionDetail.tsx:376apps/middleman/src/app/app/(lists)/transactions/table/columns.tsx:75apps/middleman/src/app/admin/(internal)/transactions/table/columns.tsx:80apps/middleman/src/app/app/(lists)/suppliers/ActivitiesSection.tsx:118apps/provider/src/app/admin/details/TransactionDetail/index.tsx:137apps/provider/src/app/admin/(internal)/keys/ActivitiesSection.tsx:128