woocommerce-android
woocommerce-android copied to clipboard
Tapping on "Switch Stores" takes a long time to load
From testing 10.2-rc-1
. Ref: p5T066-3yz-p2
When tapping Switch Store
, it would seem that it takes a very long time to load the list of sites ( approximately ~10 seconds ).
This happens each time we do so, not only the first time. As this is the only place I could see this happening through the app ( all other network calls and loading time are almost instant ) I wonder if there's some networking overhead we could improve:
Fails | |
---|---|
:no_entry_sign: | Please add a feature label to this issue. e.g. 'feature: stats' |
Generated by :no_entry_sign: dangerJS
Fails | |
---|---|
:no_entry_sign: | Please add a feature label to this issue. e.g. 'feature: stats' |
Generated by :no_entry_sign: dangerJS
Thanks for the report @iamgabrielma! I wonder how many stores (approximately) are there in the list? In my case, the list is loaded instantly (but I'm using an account with two stores connected).
Refetching the stores would happen only if there are any Jetpack CP stores connected to the account, this was done for historical reasons, and I believe there is room for improvements there. Still, as pointed by @pachlava, this won't have the same impact on our users, we experience a long delay here just because our test accounts (or work accounts) are connected to many stores, and it's not the case for the users.
So I'd say this is valid issue, but it's not urgent.