-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Add Media URI to token page #5088
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 #5088 +/- ##
=======================================
Coverage 45.30% 45.30%
=======================================
Files 1059 1059
Lines 54754 54754
Branches 3957 3957
=======================================
Hits 24804 24804
Misses 29259 29259
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
9e1a2be to
59525cc
Compare
size-limit report 📦
|
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR enhances the `TokenIdPage` component by adding a section to display the media URI of an NFT, including a button to copy the URI and a link to view it externally.
### Detailed summary
- Added a conditional rendering block to display the media URI if `nft.metadata.image` exists.
- Included a `GridItem` for the "Media URI" heading.
- Added a `CopyTextButton` to copy the media URI.
- Added a button with a link to the media URI, featuring an `ExternalLinkIcon`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
59525cc to
d59ab13
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR adds a new section to display the media URI of an NFT on the
TokenIdPage. It includes a button to copy the media URI and a link to view the media in a new tab.Detailed summary
nft.metadata.image.GridItemfor displaying the media URI label.CopyTextButtonto copy the media URI.