Introduce AddWalletButton and connect it to the AddWallet flow#418
Conversation
e7747b2 to
4b79351
Compare
MarnixCroes
left a comment
There was a problem hiding this comment.
4b79351
the space between the icon and the text is different than from master
maybe for follow up:
At the AddWallet page, the Skip button in in the right top should get a condition to only have it when in the onboarding flow. Now in the app when you click add wallet button -> Add Wallet page has a skip button, which makes no sense. a cancel would be more appropriate
|
cc @GBKS |
|
Nice work adding this functionality. I did a review of the full flow (MacOS) and added my notes in the visual below. Some of them will not be relevant to the focus of this PR and should probably be better handled in a separate one. Let me know how you want to handle that. And in written form: 1. Wallet selector dropdown 2. Add a wallet screen 3. Choose a wallet name screen 4. Choose a password screen 5. Your wallet has been created screen 6. Back up your wallet screen 7. Activity screen post wallet creation |
4b79351 to
694025a
Compare
pablomartin4btc
left a comment
There was a problem hiding this comment.
tACK 694025a
@rabbitholiness, this is only the UI link to the existent flow (CreateName.qml - not included in this PR), where there's a validator (dev's note: regexp qt class is deprecated and needs to be updated) which needs to be modified to include spaces as you said and I tested it too. Also to that flow we need to add functionality to the "Import wallet" and "View file" buttons, make the encryption not mandatory and perhaps as in Qt switch to the recently created wallet.
|
Nice one. Looks like there's an issue with the web prototype in that the menu does not disappear when entering the create wallet flow. I'll make a note of that. Something I noticed is that clicking the balance always toggle the menu to be visible. But when it is visible, and I click the balance again, the menu should disappear. Not having looked at the code at all, but knowing similar setups from building web apps, my assumption is that there is the click-outside-of-the-menu event handles is the reason for this. The mouse-down on the balance is counted as a click outside of the menu, which causes it to close. Then right after the click on the balance is triggered. Since the menu is now closed, it shows the menu again. So that mouse-down on the balance should not trigger the close (if that makes sense). Another tweak (outside of this PR probably) is to show a "Cancel" button in the top-left of the first screen of the create wallet flow. That flow can be entered in two ways, with each one requiring different top bar options, so they make sense in context:
|
You are spot on with this issue. I tried pretty hard to get this behavior fixed but i didn't find a good solution with the context we have. Hopefully a fresh look at it soon and I'll be able to solve it.
This is a good idea and I will give myself the task of implementing this |
2f04d12 to
482c1f0
Compare
be612b0 qml: Implement createSingleSigWallet (David Gumberg) Pull request description: Although imperfect, this PR enables completion of the wallet creation flow by implementing `createSingleSigWallet`. Useful for testing #418. ACKs for top commit: johnny9: tACK be612b0 Tree-SHA512: 0793629688bca179641102d5c390779bc156d174dd1deb6a902fd8a3c908b9ce626fb56d418d31b0048bf093c6ecc4647c92f5e078e2656a4a48c7fc7f0eec2d
482c1f0 to
be397b6
Compare
be397b6 to
2d2be8c
Compare
| onFinished: { | ||
| onFinished: { |
There was a problem hiding this comment.
yes, ill fix that in the next PR
… it to the AddWallet flow 8d593fe qml: Start AddWallet flow when AddWalletButton is clicked (johnny9) a8003cc qml: Introduce AddWalletButton (johnny9) Pull request description: These commits enable the "Add Wallet" button at the bottom of the Wallet Select menu on Desktop <!-- Link to github actions build artifacts. []() --> ACKs for top commit: hebasto: ACK 8d593fe, tested on Ubuntu 24.10. Tree-SHA512: 9e04760443f94ffdc3675ed3232b79549f4de1d63db5457879d80eeced79e981887c822754f529f4314080b2f01d07f1d32de31befd04a8c64d3d1db504c5900
67007e4 qml: Implement createSingleSigWallet (David Gumberg) Pull request description: Although imperfect, this PR enables completion of the wallet creation flow by implementing `createSingleSigWallet`. Useful for testing bitcoin-core#418. ACKs for top commit: johnny9: tACK 67007e4 Tree-SHA512: 0793629688bca179641102d5c390779bc156d174dd1deb6a902fd8a3c908b9ce626fb56d418d31b0048bf093c6ecc4647c92f5e078e2656a4a48c7fc7f0eec2d
… it to the AddWallet flow 8d593fec595970ef3740f2c8442c5884a84e69ce qml: Start AddWallet flow when AddWalletButton is clicked (johnny9) a8003cc560fbe301dc0debd9bf76bb07c2c485b7 qml: Introduce AddWalletButton (johnny9) Pull request description: These commits enable the "Add Wallet" button at the bottom of the Wallet Select menu on Desktop <!-- Link to github actions build artifacts. []() --> ACKs for top commit: hebasto: ACK 8d593fec595970ef3740f2c8442c5884a84e69ce, tested on Ubuntu 24.10. Tree-SHA512: 9e04760443f94ffdc3675ed3232b79549f4de1d63db5457879d80eeced79e981887c822754f529f4314080b2f01d07f1d32de31befd04a8c64d3d1db504c5900




These commits enable the "Add Wallet" button at the bottom of the Wallet Select menu on Desktop