-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
fix: 3D NFT Thumbnail Preview #6956
Conversation
SUCCESS @Jarsen136 PR for issue #6953 which is assigned to you. Please wait for review and don't hesitate to grab another issue in the meantime! |
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
AI-Generated Summary: This pull request introduces changes to the 3D NFT Thumbnail Preview feature. The modifications include the addition of a Two files have been deleted: These modifications are likely designed to improve the handling and representation of NFT metadata across the application. |
As for [More From This Collection] section, all the 3d items do not display properly. I debugged it and found that there is a comment code for this logic from @preschian. That means it's blocked by another issue #6237 |
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.
Code lgtm
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.
I thought the fix was in this line https://github.com/kodadot/nft-gallery/blob/main/libs/ui/src/components/NeoNftCard/NeoNftCard.vue#L17
nft.animationUrl || nft.animation_url
to be honest, maybe we can take a deep approach and sort out this mess more properly? Ideally, I think I would like to see a single URL coming from the indexer and the mime type @kodadot/internal-dev @yangwao |
for this one, I think it better to revert that @Jarsen136 wdyt? re-add back animation-src |
I think this is the challenge we face to support multi-chain. Because each chain has different specs. For example, this is a related issue between rmrk1 and rmrk2 kodadot/workers#95 another challenge related to metadata stuff is, on the asset hub creators can put their metadata on non-ipfs. ref: #6618 (comment) |
I would like to unify them. Or it would be confused that if there is Moreover, there is already a type definition with only |
I agree with you |
do we need handle |
Hello,
the majority of f*ckups we had is with RMRK 2.0 standard they invented their own metadata types that differ a lot for the industry standard.
All indexers have metadada available. We can fetch the mimetype from indexer too via HEAD. To unify metadata standard for one I opened an issue for the minipfs.
Already done with image-worker, please open issue in kodadot/workers if in case you find a bug, or have feature request.
In ideal scenario client should not fetch ipfs metadata from gateway but opt-in for indexer. If there is generally missing something in indexer please open issue in kodadot/loligo. If you find a bug/ miss something in specific indexer we have:
|
@Jarsen136 can you remove the components in separated PR? |
Code Climate has analyzed commit 965f5e1 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Seems not. I found that most of the cases would use |
Done. I have reverted it. separated PR #6963 |
✅ DONE. Now they are back. |
can you try again? iirc our gateway stores it afterwards which load times should be much faster next time :) |
pay 50 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
indeed, much faster now, nice! |
Impressive work! |
Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type
components/shared/gallery/GalleryItemCardList.vue
andcomponents/shared/gallery/NftCard.vue
Needs QA check
Context
Did your issue had any of the "$" label on it?
Screenshot 📸
/rmrk/collection/f4f8d7504c60bb5721-VB7SA
(It took some time to download the 3D object)
Copilot Summary
🤖 Generated by Copilot at ee3f53c
This pull request standardizes the NFT metadata format across the app by using the
BaseNFTMeta
interface and aformatNFT
utility function. It also removes some unused components and renames an inconsistent property.🤖 Generated by Copilot at ee3f53c