-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
feat: Implement new collection search #6063
Conversation
SUCCESS @Jarsen136 PR for issue #5795 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 settings. |
AI-Generated Summary: This pull request introduces a new collection search feature. It includes the implementation in |
I have found something missing to implement the new collection search.
cc @vikiival I need your help on the api side. |
we can use skeleton for now and lazy fetch it from subsquid as it was done till now if possible?
We can do in separate PR
separate issue, @vikiival can add these data to be pushed from Stick to there |
Hey @Jarsen136 I will add statemine Collections today but I had to do a smol change {
"id": "ksm-3cdf41f721e728d969-VARA",
"name": "Gear Sub0 Collection",
"image": "ipfs://ipfs/bafybeidbriqfhzj7cuz2jzcftpmk6czukjd7hunzfnmtpkffzporeee4zy",
"media_url": "ipfs://ipfs/bafybeidbriqfhzj7cuz2jzcftpmk6czukjd7hunzfnmtpkffzporeee4zy",
"metadata": "ipfs://ipfs/bafkreifys72uc26xqml5a3k4wbsxol6cbhypxwjikp2liwx3q4brz3i6ka",
"chain": "ksm",
"volume": 0,
"collection_id": "3cdf41f721e728d969-VARA"
} Id now need to contain chain prefix + collection id
Yes, please use this |
Statemine is there
|
Ok, I will check it |
Code Climate has analyzed commit f22d0c8 and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
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.
Yes, I think it's related, cc @vikiival we should add
|
@Jarsen136 should work now |
some works some not, interesting but on second it fetches fast apparently. some collections are not there? cc @vikiival I have zero errors in console. Do we have some full-text search magic inside/over it? |
pay 50 usd Let's inspect in |
pay 50 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
await Promise.all([ | ||
...collectionWithImages.map(async (collection) => { | ||
return this.fetchCollectionStats(collection) | ||
}), | ||
]).then(() => { | ||
this.collectionResult = collectionWithImages | ||
this.isCollectionResultLoading = false | ||
}) |
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.
This should be lazyloaded
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
Context
Before submitting pull request, please make sure:
Optional
Had issue bounty label?
Community participation
Screenshot 📸
Copilot Summary
🤖 Generated by Copilot at ed2282c
This pull request enhances the search functionality of the NFT gallery by integrating the Polysearch API for collection suggestions and displaying the network name for each collection. It also fixes a bug in the search suggestion component and adds a new
chain
property to the NFT metadata interface.🤖 Generated by Copilot at ed2282c