-
Notifications
You must be signed in to change notification settings - Fork 987
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
Fixed cryptokitties loading/ordering #9968
Conversation
Pull Request Checklist
|
@Serhy do we have an account with more than 20 CK ? |
@flexsurfer I remember we had one but it was long time ago, I can't find it's seedphrase :) I have 46 kittes, though, in my account and tested it on iOS and Android. It works well and I see the list of 46 items, but not always.
So it works, and ordering is by kittyID, but not always whole list of kitties is displayed. |
I've retested builds on Android 8.1 and iOS 13.3 and all my 46 kitties are loaded 5 times in a row when navigating back and forth to Cryptokitties list in Wallet. |
Signed-off-by: Andrey Shovkoplyas <[email protected]>
583da19
to
553f2c0
Compare
Fixes #6839
Summary
Cryptokitties were not fully loading due to an API limit of 20 per request, and they were not displaying in an order matching that of the API/website. This PR breaks up the single request into multiple requests of 20, and ensures that they are put into a sorted map for ordering by descending ID. (correlating to most recently created being shown first)
(formatting should be fine also)
Functional
Non-functional
Steps to test
Open status application
Navigate to the wallet tab
Expand a wallet with more than 20 kitties
Expand the collectibles tab and select kitties
Ideally see all kitties in the proper order
status: ready