Skip to content

chore(evm-address): Option to copy the address for evm contracts and copy feedback #752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 21, 2025

Conversation

nidhi-singh02
Copy link
Contributor

@nidhi-singh02 nidhi-singh02 commented Jul 18, 2025

Description

  • Button to copy the address for EVM Contracts.
  • When a user copies, a feedback is shown in the form of a tick.

For reference updated doc

Type of Change

  • New Page
  • Page update/improvement
  • Fix typo/grammar
  • Restructure/reorganize content
  • Update links/references
  • Other (please describe):

Areas Affected

Checklist

  • I ran pre-commit run --all-files to check for linting errors
  • I have reviewed my changes for clarity and accuracy
  • All links are valid and working
  • Images (if any) are properly formatted and include alt text
  • Code examples (if any) are complete and functional
  • Content follows the established style guide
  • Changes are properly formatted in Markdown
  • Preview renders correctly in development environment

Related Issues

Closes #

Additional Notes

Contributor Information

  • Name:
  • Email:

Screenshots

Copy link

vercel bot commented Jul 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2025 10:19am
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2025 10:19am

<span className="text-green-500 text-xs font-bold">✓</span>
) : (
<CopyIcon className="shrink-0" />
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be worthwhile to make a <CopyButton> component since it seems like you're reusing it a lot, I have that in the Pyth component library that we're using on newer projects but since this project doesn't use the component library you don't have access to it unfortunately.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good suggestion, going to do in a separate PR as we will have to replace the usage with the new component in other places as well.

Want to keep this PR focused on copy functionality for EVM address.

@nidhi-singh02 nidhi-singh02 merged commit 7d2848c into main Jul 21, 2025
5 checks passed
@nidhi-singh02 nidhi-singh02 deleted the evm-address-copy branch July 21, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants