Closed prachi00 closed 7 months ago
SUCCESS @prachi00 PR for issue #7685 which is assigned to you. Please wait for review and don't hesitate to grab another issue in the meantime!
AI-Generated Summary: This pull request updates the placeholders images used depending on the theme mode in the useTheme.ts
file. Instead of using /placeholder.webp
for dark mode and /placeholder-white.webp
for light mode, it now uses /Kdark.svg
and /Klight.svg
respectively. These SVG files, Kdark.svg
and Klight.svg
, added to the public directory, define several complex shapes through various <path>
elements. It's worth noting that some paths are filled with black color, and others are filled with white, denoted by different SVG rules like fill-rule
and clip-rule
.
Name | Link |
---|---|
Latest commit | 5c6ed3e93962e9f91ef839d92fd0516fbbb035e0 |
Latest deploy log | https://app.netlify.com/sites/koda-canary/deploys/65409255378c520008577743 |
Deploy Preview | https://deploy-preview-7698--koda-canary.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
could you use minimized .webp instead?
I converted online, the quality is reduced though
@exezbcz can you provide webp?
@prachi00 Hope this helps. I decided to make it k-grey for both modes, since its placeholder, it does not have to have big contrast
could you also make it smaller, something like with the size of container
here is zip, both dark and light version with 4 quality versions - levels of compression. kdarkplaceholder.zip klightplaceholder.zip
@exezbcz check now
@exezbcz i think placeholder when loading collection logo image could also be reduced, wdyt on canary it also had some margins around)
weird, still see the old one on explorer
@prury yup, smaller please and without the stretch
weird, still see the old one on explorer
![]()
![]()
where is this? dont we have skeletons in explore now?
@prury
![]()
@prury
@prachi00 the image you attached still shows the old logo. I believe its supposed to show the new logo, but using the same margins and image proportions that we have on canary
@prury
weird, still see the old one on explorer
![]()
![]()
where is this? dont we have skeletons in explore now?
@prachi00 this one happens in a split of a second when browsing 3D NFTs i guess, hard one to reproduce:
https://github.com/kodadot/nft-gallery/assets/36627808/76b94dfc-f2ef-4bfd-ae4e-9ba946fc8f1d
it seems the old placeholder is coming from nftListWithSearch
query
@roiLeo @prury can we add this in a separate issue ?
it seems the old placeholder is coming from
nftListWithSearch
query @roiLeo @prury can we add this in a separate issue ?
it's comming from IPFS_KODADOT_IMAGE_PLACEHOLDER
IPFS_KODADOT_IMAGE_PLACEHOLDER
okay so what should be the value now for this? how do I get that ipfs hash thingy for new logo?
IPFS_KODADOT_IMAGE_PLACEHOLDER
okay so what should be the value now for this? how do I get that ipfs hash thingy for new logo?
@roiLeo would you know?
okay so what should be the value now for this? how do I get that ipfs hash thingy for new logo?
maybe I am wrong and we have another way but my guess would be
okay so what should be the value now for this? how do I get that ipfs hash thingy for new logo?
Mint it!
IPFS_KODADOT_IMAGE_PLACEHOLDER
would you mind generating one? I am having trouble loading it I got this QmVFb2qxyFePqzMqMrwcszpavi95FUhwapPVPu3z7Fxf1B hash but it doesn't load
https://image-beta.w.kodadot.xyz/ipfs/QmVFb2qxyFePqzMqMrwcszpavi95FUhwapPVPu3z7Fxf1B
IPFS_KODADOT_IMAGE_PLACEHOLDER
would you mind generating one? I am having trouble loading it I got this QmVFb2qxyFePqzMqMrwcszpavi95FUhwapPVPu3z7Fxf1B hash but it doesn't load
https://image-beta.w.kodadot.xyz/ipfs/QmVFb2qxyFePqzMqMrwcszpavi95FUhwapPVPu3z7Fxf1B
@roiLeo @daiagi
Which network did you mint it in? I didn't find it browsing through explore
Which network did you mint it in? I didn't find it browsing through explore
I did it through the ipfs thing you mentioned
Roileo advice was better. Mint it
Roileo advice was better. Mint it
yeah so about that, I dont have any balance for testing stuff, and I don't know how to get tokens since we shifted on telegram from discord, would you be able to mint it? or tell me how I can get some test tokens? @daiagi
there you go: https://kodadot.xyz/ahk/collection/197
https://image.w.kodadot.xyz/ipfs/bafkreiddaramgs4jvneno4pkjhrs4lr3dbxmrgpqqtviwhco674qeu4vx4 https://image.w.kodadot.xyz/ipfs/bafkreigbvowevtdh5ktnr5kyfxf2b56lp4424zj2gb6wona6if4lh35mbe
thank you
what is the equivalent for the drip thing on telegram?
Code Climate has analyzed commit 5c6ed3e9 and detected 0 issues on this pull request.
View more on Code Climate.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.9% Duplication
@roiLeo @daiagi it seems even after replacing the hash https://deploy-preview-7698--koda-canary.netlify.app/ksm/explore/items?listed=true&search=bureau still has the old placeholder with hash bafkreifahjdjerrz65puqznmsu2acoktrxjbo3vvp2f2j4eb7h5tc345fi I searched the codebase and we don't have it anywhere else
It seems that IPFS_KODADOT_IMAGE_PLACEHOLDER
is only used while minting
so any nft minted before this PR will show the previous placeholder
it looks like we're just going to have to live with it
Thanks! pay 30 usd
π Perfect, Iβve sent the payout π΅ $30 @ 4.35 USD/DOT ~ 6.897 $DOT π§ 13Qx65nLd6SwdtjrRyuoEtp9CKXhF651xdHBPaXcvhwKm4N1 π 0x932790f73fcd5119aa0cef35a9e75b0d781f35b46b02af0231721cedb9a2cf23
πͺ Letβs grab another issue and get rewarded! πͺ github.com/kodadot/nft-gallery/issues
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
Needs QA check
Context
Did your issue had any of the "$" label on it?
Screenshot πΈ
Copilot Summary