decrediton icon indicating copy to clipboard operation
decrediton copied to clipboard

[startup] Overview takes a few seconds to load

Open alexlyp opened this issue 3 years ago • 5 comments

On a basic startup I notice that the launcher screen goes mostly blank (except for the settings and logs button on top) for like 5-10 seconds before the Overview page loads in. From watching the console, i don't see any actions happen other than a @@router/LOCATION_CHANGE to (*/home") right before the page loads. So guessing it's waiting on something before dispatching (goToHome) action

alexlyp avatar Apr 27 '21 15:04 alexlyp

Just double checking: this is during initial app startup of during wallet startup (after selecting the wallet)?

I see a flash of a blank page on wallet startup, but it's pretty fast (definitely not in 5-10 seconds range). I also see a slightly longer flash when the wallet has tickets and will go to the "Process Managed Tickets" page (before the overview).

I did these tests on a yarn build && yarn start run.

matheusd avatar Apr 30 '21 12:04 matheusd

Yah I believe I'm referring to that "slightly longer flash" but I see the same flash with a wallet with no tickets. I believe it's delaying with something in the get started machine

alexlyp avatar Apr 30 '21 12:04 alexlyp

I see "nothing" happening then the location change action hit and then the overview shows up.

alexlyp avatar Apr 30 '21 12:04 alexlyp

hrm it calls the wallet to check for coinjoin txs, i think it might be related

amass01 avatar Apr 30 '21 12:04 amass01

So looking at the logs/actions and when the screen goes blank, I see the screen go blank at STARTWALLETSERVICE_SUCCESS then a few more Success actions then the Location change hits (which shows the Overview) approx 5 s later.

This was on a wallet with some history but no active tickets.

alexlyp avatar Apr 30 '21 13:04 alexlyp