-
Notifications
You must be signed in to change notification settings - Fork 67
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
Set network in launcher #1098
Set network in launcher #1098
Conversation
nit: i think it would be clearer if the two sections were:
It's already obvious from the options the user has to select a network. I think it's more helpful to tell the user what the selection would achieve. Also, the buttons are not all of the same size. |
It looks very nice 😍 After deleting an existing wallet, the list of networks for a new install does not refresh to include the deleted network. It would be nice to refresh this list even while the modal is open: Regarding the "Change network" button, this is also covered as part of #993. There are some other special cases to consider, e.g. if the network has been specified in the command line, it may not make sense to show the button. The only other thing I found is that the default window size may make the list not display nicely, e.g. This is resolved if the window is made bigger. |
I would propose adding a back symbol ("<" or something equivalent) in the "Change Network" button to indicate that, by clicking it, the user would be redirected to the previous step. |
a95bb03
to
8ffed27
Compare
Deletion of existing wallet works nicely now and the list of networks is displaying well on the default window size. I found that if I use a new data directory, I get an error in the logs when selecting the network to use:
and then after completing the installer:
|
Only in the case of it is a fresh install and no other wallet is created ? |
Maybe. Do you have another suggestion? I don't think users should see "mainnet". And they should know what clicking on the button is going to do. I'm also trying to think through an alternative which would be less time consuming to implement. Do you have an idea? Maybe just a label before the "Bitcoin mainnet" button which reads "Create a new Liana wallet:"? This is ugly, we keep the "mainnet" wording, but it's simple. |
Launcher is not skipped anymore if no datadir exists the code in main.rs line 138 to create the datadir needs to be duplicated in this case.
e7061ba
to
977d8fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK c0e7b63.
This Pull requests introduce three changes: