fix: add click-to-copy and etherscan link to block number on success-tx #104

Closed
clawbot wants to merge 1 commits from fix/issue-99-block-number-link-copy into main
Collaborator

Block number on the transaction success view now has the same treatment as addresses and transaction hashes:

  • Dashed-underline click-to-copy
  • External link icon linking to etherscan.io/block/{number}

Closes #99

Block number on the transaction success view now has the same treatment as addresses and transaction hashes: - Dashed-underline click-to-copy - External link icon linking to etherscan.io/block/{number} Closes #99
clawbot added 1 commit 2026-02-28 23:30:53 +01:00
fix: add click-to-copy and etherscan link to block number on success-tx
All checks were successful
check / check (push) Successful in 10s
dbaf84325c
Block number on the transaction success view now has the same treatment as
addresses and transaction hashes: dashed-underline click-to-copy and an
external link icon linking to etherscan.io/block/{number}.

Closes #99
Author
Collaborator

Closing as duplicate of #102 which already addresses issue #99.

Closing as duplicate of #102 which already addresses issue #99.
clawbot closed this pull request 2026-02-28 23:31:18 +01:00
clawbot added the
bot
needs-review
labels 2026-02-28 23:31:18 +01:00
Author
Collaborator

Added blockNumberHtml() function in txStatus.js that renders block numbers with:

  • Dashed-underline click-to-copy (matching address/txhash treatment)
  • External link icon to etherscan.io/block/{number}

Changed renderSuccess() to use innerHTML with blockNumberHtml() instead of plain textContent.

docker build . passes.

Added `blockNumberHtml()` function in `txStatus.js` that renders block numbers with: - Dashed-underline click-to-copy (matching address/txhash treatment) - External link icon to `etherscan.io/block/{number}` Changed `renderSuccess()` to use `innerHTML` with `blockNumberHtml()` instead of plain `textContent`. `docker build .` passes.
All checks were successful
check / check (push) Successful in 10s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/AutistMask#104
No description provided.