thirdweb-dev / js

Best in class web3 SDKs for Browser, Node and Mobile apps
https://thirdweb.com
Apache License 2.0
379 stars 259 forks source link

[dashboard] Add copy button for chain id #3538

Closed MananTank closed 6 days ago

MananTank commented 1 week ago

PR-Codex overview

The focus of this PR is to add a CopyTextButton component with copy functionality to various parts of the application for easy text copying.

Detailed summary

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

linear[bot] commented 1 week ago

DASH-52 Add Copy Option for Chainlist Chain ID Field (Index Page + Individual Pages)

vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 11:37pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 11:37pm
changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: be9118a04f7b840e78375adf6d0c0ef04167dfb1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

graphite-app[bot] commented 1 week ago

Your org requires the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

graphite-app[bot] commented 1 week ago

Merge activity

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.48%. Comparing base (3ffad1a) to head (be9118a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3538 +/- ## ======================================= Coverage 62.48% 62.48% ======================================= Files 897 897 Lines 68814 68814 Branches 3670 3670 ======================================= Hits 42996 42996 Misses 25130 25130 Partials 688 688 ``` | [Flag](https://app.codecov.io/gh/thirdweb-dev/js/pull/3538/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thirdweb-dev) | Coverage Δ | | *Carryforward flag | |---|---|---|---| | [legacy_packages](https://app.codecov.io/gh/thirdweb-dev/js/pull/3538/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thirdweb-dev) | `65.59% <ø> (ø)` | | Carriedforward from [3ffad1a](https://app.codecov.io/gh/thirdweb-dev/js/commit/3ffad1a5a69e248bb023c0c4ca1963441e634f07?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thirdweb-dev) | | [packages](https://app.codecov.io/gh/thirdweb-dev/js/pull/3538/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thirdweb-dev) | `61.89% <ø> (ø)` | | | *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thirdweb-dev) to find out more.
codspeed-hq[bot] commented 1 week ago

CodSpeed Performance Report

Merging #3538 will not alter performance

Comparing dash-52 (be9118a) with main (3ffad1a)

Summary

✅ 9 untouched benchmarks

github-actions[bot] commented 1 week ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 40.8 KB (0%) 816 ms (0%) 273 ms (+7.7% 🔺) 1.1 s
thirdweb (cjs) 91.95 KB (0%) 1.9 s (0%) 698 ms (+1.5% 🔺) 2.6 s
thirdweb (minimal + tree-shaking) 4.79 KB (0%) 96 ms (0%) 61 ms (+274.42% 🔺) 157 ms
thirdweb/chains (tree-shaking) 423 B (0%) 10 ms (0%) 35 ms (+572.34% 🔺) 45 ms
thirdweb/react (minimal + tree-shaking) 13.51 KB (0%) 271 ms (0%) 105 ms (+166.4% 🔺) 376 ms