Closed Restioson closed 2 months ago
I think we can't delay the user registration to the next start as the user might trade once the coordinator is back online. This will result in errors if the user is not registered.
I think we can't delay the user registration to the next start as the user might trade once the coordinator is back online. This will result in errors if the user is not registered.
Is the user able to create a position whilst the coordinator is offline? Or is this in the case of the coordinator coming back whilst the user is still online?
Perhaps this could be addressed by checking if the user is registered every time before they open a position?
Is the user able to create a position whilst the coordinator is offline? Or is this in the case of the coordinator coming back whilst the user is still online?
If the coordinator is coming back, while the user is online.
Perhaps this could be addressed by checking if the user is registered every time before they open a position?
I wouldn't make it too complicated.. I think your solution of simply retrying to register, when the app starts the next time is fine.
@Restioson This feels a bit weird. I would go for the warning we already show when you open the app after you have registered. "Coordinator is not available" but show the app.
https://github.com/get10101/10101/assets/382048/0ef791b4-af9e-496e-926a-39defebedc19
@holzeis: I've gone for showing both warnings. Now, it will still show that you have failed to register for beta but also continue to wallet and then show that the coordinator is offline. I did not want to simply silence the failure to register for beta as I think the user should still know about it.
@holzeis: I've gone for showing both warnings. Now, it will still show that you have failed to register for beta but also continue to wallet and then show that the coordinator is offline. I did not want to simply silence the failure to register for beta as I think the user should still know about it.
Can you share a video.. I would like to see how this looks like. There was also the issue of a hanging loading screen.
For future reference: @holzeis and I discussed that the additional warning about beta signup should be removed, since there is no observable effect of this failure (it's only internal). If this changes, like if we add an email notification or the like, we could consider reintroducing it as an extra line on the main 'coordinator down' warning.
I changed it to a snackbar just to make it consistent with the import seed which does the same thing when it's LoadingScreenTask fails. I did it in such a way that I can remove it very easily though if you think it should go though @holzeis, on purpose :smile:
I changed it to a snackbar just to make it consistent with the import seed which does the same thing when it's LoadingScreenTask fails. I did it in such a way that I can remove it very easily though if you think it should go though @holzeis, on purpose 😄
Sounds reasonable to me, can you share a video?
This PR adds two related commits which do the following:
This might address #2430 somewhat, but I'm currently unclear exactly what the issue with #2430 is.