Skip to content

feat: display node hash on CRN and CCN detail pages#222

Open
odesenfans wants to merge 1 commit into
mainfrom
od/add-node-hash-to-node-page
Open

feat: display node hash on CRN and CCN detail pages#222
odesenfans wants to merge 1 commit into
mainfrom
od/add-node-hash-to-node-page

Conversation

@odesenfans

Copy link
Copy Markdown
Contributor

Add a NODE HASH field with copy-to-clipboard button below the ADDRESS field on CRN pages and below the MULTI ADDRESS field on CCN pages.

Add a NODE HASH field with copy-to-clipboard button below the ADDRESS
field on CRN pages and below the MULTI ADDRESS field on CCN pages.
@odesenfans odesenfans requested a review from amalcaraz March 18, 2026 19:51

@foxpatch-aleph foxpatch-aleph left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR correctly adds a NODE HASH field with copy-to-clipboard functionality to both CRN and CCN detail pages. The implementation follows existing code patterns: it uses the established node.hash property (widely used throughout the codebase), properly imports and uses the existing NodeDetailLink component with the textToCopy prop, and applies ellipseAddress for consistent address formatting. The placement is logical (after ADDRESS for CRN, after MULTI ADDRESS for CCN), and the optional chaining (node?.hash && ...) handles edge cases safely. No security concerns or bugs identified.

@amalcaraz amalcaraz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but main branch is legacy app, we need to open a new PR to merge this into feat/credit-ui as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants