-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
enable filtering by collections #7700
Conversation
✅ 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 includes updates to the items grid and GraphQL query to support filtering by collections. The changes involve the addition of a 'collection' case within the 'useFetchSearch' function file useItemsGrid.ts, which assigns collection IDs to the 'collections' property. Moreover, the patch adds a new variable, '$collections', to the GraphQL query in the tokenListWithSearch.graphql file, which is then used as a filter condition in the 'tokenEntityList' and total count queries. |
drafting coz it won't work until squid is deployed |
Code Climate has analyzed commit b7ef800 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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
filter by collection, count tokens stick#118
Did your issue had any of the "$" label on it?
Screenshot 📸
Copilot Summary
🤖 Generated by Copilot at f54ac03
This pull request enables searching for NFTs by collection name on the Subsquid API. It modifies the
tokenListWithSearch
query and theuseFetchSearch
hook to accept and pass acollections
parameter.🤖 Generated by Copilot at f54ac03