nft-gallery
nft-gallery copied to clipboard
Freshly minted collection doesn't show up
After creating new collection, I'm being redirected to https://beta.kodadot.xyz/bsx/create where I can mint new NFT, however, I don't see the created collection in the dropdown select. After some time and after I refresh the page, collection ID shows up in the dropdown (number) but not the name of the collection.
2 problems here:
- It's possible this will always take time regardless, but if that's the case, I'd suggest showing up message which will let the user know, to refresh in 5 mins or so.
- 10 minutes after the mint, I can still see only the ID of the collection (number) not the name I've selected before
The collection name is being shown up already, yet it still takes some time for a fresh collection is being shown.
Explainer will be added
- https://github.com/kodadot/nft-gallery/issues/3333
The fix could be adding
- fetching for a user recent new collections through indexer as right now we are doing it on a fresh load
- fetch from the chain by address recent collections from last blocks by user-id
ok, the explainer was added and this also doesn't seem to be an issue after I've tested this a bunch of times in the past couple of days, idk whether you want to move forward with:
The fix could be adding
fetching for a user recent new collections through indexer as right now we are doing it on a fresh load fetch from the chain by address recent collections from last blocks by user-id
But in case yes, maybe we should include this as part of our refactor, wdyt @yangwao
just tested this couple of times, we have both the message included and also, I just saw the collection show up instantly.