Skip to content

feat: add copy-to-clipboard for contract addresses and tx hashes#697

Merged
Junirezz merged 1 commit into
Junirezz:mainfrom
MAN7A-afk:feat/231-clipboard-upstream
Jun 2, 2026
Merged

feat: add copy-to-clipboard for contract addresses and tx hashes#697
Junirezz merged 1 commit into
Junirezz:mainfrom
MAN7A-afk:feat/231-clipboard-upstream

Conversation

@MAN7A-afk
Copy link
Copy Markdown
Contributor

@MAN7A-afk MAN7A-afk commented Jun 2, 2026

closes #231

Goal Enhance the user experience by allowing quick copying of critical blockchain identifiers (contract IDs, transaction hashes, and wallet addresses) directly from the UI.

Changes

  • Vault Dashboard : Added a new row in the Strategy Overview for the Contract Address and integrated CopyButton for both the Strategy ID and Contract Address .

  • Transaction History : Updated the transaction hash column to include a copy icon next to the explorer link.

  • Transaction Receipt : Added copy functionality for the Wallet Address and Transaction Hash on the dedicated receipt page.

  • UI/UX : Utilized the existing CopyButton component to ensure consistent feedback (icon change + toast notification) and accessibility compliance.
    Files Modified

  • VaultDashboard.tsx : Added contract address display and copy buttons.

  • TransactionHistory.tsx : Added copy button to the transaction hash column.

  • TransactionReceipt.tsx : Added copy buttons for wallet and hash fields.
    Acceptance Criteria Verified

  • Copy succeeds using the established copyTextToClipboard utility.

  • Brief toast confirmation appears on successful copy.

  • Icons provide immediate visual feedback.

  • aria-label and aria-live attributes ensure screen reader accessibility.

  • Buttons are keyboard-focusable and triggerable.
    Screenshots/Demo

  • Strategy Overview now shows: Contract: [Hash] [Copy Icon]

  • Transaction Table now shows: [Hash] [Copy Icon]

  • Receipt Page now shows copy icons next to all long hex strings.

@MAN7A-afk
Copy link
Copy Markdown
Contributor Author

@Junirezz if you still can please merge and award points

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@MAN7A-afk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Junirezz Junirezz merged commit 47f86cc into Junirezz:main Jun 2, 2026
9 of 12 checks passed
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.

Frontend: Add copy-to-clipboard for contract address and tx hashes

2 participants