feat: make block number click-to-copy with Etherscan external link #107

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

Closes #99

The block number on the success-tx view now has the same treatment as addresses and tx hashes:

  • Click-to-copy (dashed underline)
  • External link icon to etherscan.io/block/{number}

Added a blockNumberHtml() function following the same pattern as txHashHtml() and toAddressHtml().

Data atom consistency audit

All blockchain entities displayed across the codebase:

Entity Click-to-copy External link Where
Address etherscan.io/address/ home, send, receive, txStatus, transactionDetail, approval, addressDetail, addressToken, confirmTx
Tx hash etherscan.io/tx/ txStatus, transactionDetail
Token contract etherscan.io/token/ addressToken, confirmTx, transactionDetail
Block number (new) (new) etherscan.io/block/ txStatus (success view)

docker build . passes.

Closes #99 The block number on the success-tx view now has the same treatment as addresses and tx hashes: - Click-to-copy (dashed underline) - External link icon to `etherscan.io/block/{number}` Added a `blockNumberHtml()` function following the same pattern as `txHashHtml()` and `toAddressHtml()`. ### Data atom consistency audit All blockchain entities displayed across the codebase: | Entity | Click-to-copy | External link | Where | |--------|:---:|:---:|-------| | Address | ✅ | ✅ etherscan.io/address/ | home, send, receive, txStatus, transactionDetail, approval, addressDetail, addressToken, confirmTx | | Tx hash | ✅ | ✅ etherscan.io/tx/ | txStatus, transactionDetail | | Token contract | ✅ | ✅ etherscan.io/token/ | addressToken, confirmTx, transactionDetail | | **Block number** | ✅ (new) | ✅ (new) etherscan.io/block/ | txStatus (success view) | `docker build .` passes.
clawbot added 1 commit 2026-02-28 23:52:21 +01:00
feat: make block number click-to-copy with Etherscan external link on success-tx view
All checks were successful
check / check (push) Successful in 7s
7d1d584b52
Closes #99

The block number on the success-tx view is now styled consistently with
other blockchain entities (addresses, tx hashes): it has a dashed underline
for click-to-copy and an external link icon pointing to etherscan.io/block/.
clawbot added the
bot
needs-review
labels 2026-02-28 23:52:35 +01:00
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:52:37 +01:00
All checks were successful
check / check (push) Successful in 7s
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#107
No description provided.