-
Notifications
You must be signed in to change notification settings - Fork 8
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
Bug: Temporary view shown before node has started #144
Comments
I don't think this is a bug just a weird workaround needed previously. I'll add some more context in a bit on the problem that this solution was addressing, but there is definitely a better solution to figure out for it indeed. |
Context: same time period that I added the "reset preferences" stuff we discussed yesterday, similar issue(s) to try to work around Problem: Esplora not working (Temporary) Solution: Give a "loading" screen that is minimally noticeable when things work right, but if things aren't working if node is stuck loading (because the Esplora provided to it isn't working, and client app may not know that) user can get back to the start of onboarding to select a different Esplora. Reproduce: to reproduce what would happen in this case you can mimic it by changing Further thoughts: definitely not the ideal solution, but at the time did not know if the underlying Esplora problem would be a a temporary problem or long term problem. I think we touched on some overall onboarding thoughts yesterday with breaking out the |
When a user is onboarded, StartView briefly shows a screen with a button offering a way to go back to Onboarding.
It happens both on first run, and subsequent app starts.
This could be a regression from my work in #131
Here is the UI Code being shown:
It seems to be caused by BitcoinView not being launched until node is started, and the start is not triggered until StartView .onAppear.
I'll look into how to avoid this happening.
Potentially having LDKMondayApp observing whether a node is started instead of whether 'onboarding' is true.
This could enable bypassing StartView completely and showing BitcoinView when node is started.
If that is not possible, or a good idea we can do a visual workaround in StartView.
The text was updated successfully, but these errors were encountered: