-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Hide empty collection on users profile #1367
Comments
the collection doesn't show up in ( extra > Admin panel ), but its still there in my profile when i see " collections " |
Hey, according to the implementation standards of RMRK you cannot delete the collection.
We do not want to show people empty collections in admin panel (as you can't do any action) |
@vikiival im not saying there's something wrong with admin panel, |
kodadot shows the empty collection, while singular don't, i really think you should add feature to kodadot |
#1357 related |
@vikiival @yangwao
|
Hide empty collections and hide consumed nfts from collection statistics |
Well, you mean floating RMRK standard, yah? :D I mean, let's add KODA::HIDE or something like that! :) later we can evolve into zkHIDE ;D |
im still waiting for this to be solved because i hate how my profile looks right now lol , its a mess. @yangwao @vikiival @XyloDrone @kkukelka please help |
Explorer has been redesigned, profile in the works, landing page is a priority atm :) |
As @XyloDrone asked me if we could do that asap @roiLeo opened issue months ago |
So the correct answer for this issue is:
query collectionListByAccount($account: String!, $first: Int!, $offset: Int) {
collectionEntities(where: {issuer_eq: $account, nfts_some: {}}, orderBy: blockNumber_DESC, limit: $first, offset: $offset) {
...collection
...collectionDetails
}
}
I heard @Jarsen136 wanted to pick that up :) |
Well, I will have a try later! |
this Subsquid seem not works well as it return all collections including the one with consumed nfts. I test it on the account: /rmrk/u/JHMAL5CyvxWc3Ud42QxRUTpSnUa4m56mRSzPK69d1TU8NG7?tab=collection |
Good catch! query collectionListByAccount($account: String!, $first: Int!, $offset: Int) {
collectionEntities(where: {issuer_eq: $account, nfts_some: { burned_eq: false }}, orderBy: blockNumber_DESC, limit: $first, offset: $offset) {
...collection
...collectionDetails
}
} also do not be confused with |
What happened?
i used ( extra > Admin panel ) to consume the collection i created by mistake but its still here:
https://nft.kodadot.xyz/rmrk/collection/FC77C33AB229A2056A-THECUBE
all the nfts in it are gone, but it is still shown in my profile
Please reproduce in steps
/
Expected Behavior
to not be shown in my profile
What browsers are you seeing the problem on?
Chrome
Are you logged in?
Yes
At which address did you encounter bug?
nft.kodadot.xyz / kodadot.xyz
Screenshots
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: