-
Notifications
You must be signed in to change notification settings - Fork 559
[Dashboard] Add tokenURI section to the NFT page #5035
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd 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. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5035 +/- ##
=======================================
Coverage 45.29% 45.29%
=======================================
Files 1059 1059
Lines 54729 54729
Branches 3956 3956
=======================================
Hits 24791 24791
Misses 29247 29247
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
apps/dashboard/src/contract-ui/tabs/nfts/components/token-id.tsx
Outdated
Show resolved
Hide resolved
apps/dashboard/src/contract-ui/tabs/nfts/components/token-id.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please address the comments
4a61683
to
228d28f
Compare
228d28f
to
db71142
Compare
cd81893
to
b75cb9d
Compare
packages/thirdweb/src/extensions/erc1155/write/mintToBatch.test.ts
Outdated
Show resolved
Hide resolved
b75cb9d
to
9ef602f
Compare
Merge activity
|
<img width="1172" alt="image" src="https://github.com/user-attachments/assets/bef8ec5b-b453-43e1-bc90-f7156b3dd578"> <!-- start pr-codex --> --- ## PR-Codex overview This PR enhances the `TokenIdPage` component by adding functionality for displaying and copying the token URI of an NFT. It introduces a `CopyTextButton` and a link that opens the token URI in a new tab, improving user interaction and accessibility. ### Detailed summary - Added import for `CopyTextButton`. - Added import for `ExternalLinkIcon`. - Introduced `Link` from `next/link`. - Added `token URI` section in the UI. - Implemented `CopyTextButton` to copy the `nft.tokenURI`. - Added a button with a link that opens the `nft.tokenURI` in a new tab. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
9ef602f
to
4542a48
Compare
PR-Codex overview
This PR enhances the
TokenIdPage
component by adding functionality to display and copy the NFT's token URI. It introduces aCopyTextButton
for easy copying, and a link to open the token URI in a new tab.Detailed summary
CopyTextButton
for copying the NFT's token URI.ExternalLinkIcon
.shortenString
to display a shortened version of the token URI.