-
Notifications
You must be signed in to change notification settings - Fork 59
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
[GUI] Skip loading screen for existing wallets #1386
[GUI] Skip loading screen for existing wallets #1386
Conversation
37a44ab
to
55680f8
Compare
Rebased on #1377. |
55680f8
to
91bf35f
Compare
Rebased on #1377. |
91bf35f
to
7ed09dc
Compare
Rebased on #1377. |
b756138
to
489c7e6
Compare
Use an enum to clearly enumerate the different cases we are considering and avoid the need to repeat logic relating to blockheight in the view.
489c7e6
to
0a674d5
Compare
Works like a charm. I think have better UX/UI to imagine, but I am happy with the result. |
That's right, it would load the home page directly and show the sync progress as returned by |
Ok thank you for the answer, it is not really inconvenient. |
ACK 0a674d5 |
This is to resolve #1384 by skipping the loading screen for an existing wallet even if the blockchain is still syncing.
This change will only make a difference for local backends given that
the blockchain for a Liana Connect wallet is always considered to be synced and so the loading screen was already loading the application directlyLiana Connect doesn't use the loading screen.It builds on #1377, to additionally check the blockchain sync progress, and show a message with the sync progress as a percentage in case the blockchain is not fully synced.
using the logic added there to indicate on the home page that syncing is in progress if the poller has not yet run. Polling does not start until the blockchain has fully synced and so the same logic can be applied here.For now, no distinction is made on the home page between the wallet syncing and the blockchain syncing, but this may change in future.