-
Notifications
You must be signed in to change notification settings - Fork 269
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
Add Import to Wallet GUI #650
Conversation
adf1a83
to
46fea25
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.
While the imports mostly work, I noticed that there is no feedback when it is successful. What I expected to happen was a dialog indicating success, and then the import dialog would close itself too.
I think you should also look into adapting a couple of the importmulti tests to be GUI unit tests that can test these new dialogs. It would be very helpful to have some automated testing of all of the things here rather than trying to do it by hand.
Note: @KolbyML is my Summer of Bitcoin mentee.
aaa73da
to
91ab27a
Compare
Concept ACK. |
bc90775
to
3662ce8
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.
Awesome first contribution @KolbyML, you're taking a big swing here! Concept ACK on adding this feature.
First, I would second @w0xlt suggestion of breaking each import into it's own PR, this makes the changes digestible for reviewers.
Second, please note that any changes to the code outside of src/qt
(excluding necessary build changes to build any new ui files) cannot be merged from this repo. Any refactoring changes to code outside of src/qt
you want to propose in order to make this gui feature work should be opened up in the main repo: https://github.com/bitcoin/bitcoin
e5856e0
to
3e1b9a4
Compare
🐙 This pull request conflicts with the target branch and needs rebase. |
@pablomartin4btc sounds good I will try and get my 2 PR's rebased |
Suggesting to convert this PR to a draft while CI fails. |
There hasn't been much activity lately and the patch still needs rebase. What is the status here?
|
⌛ There hasn't been much activity lately and the patch still needs rebase. What is the status here?
|
I no longer have time to work on this so as the bot suggests I am going to close this |
resolves #19
This PR does a few things
Things to get this merged
The dialogs are located under File -> Import to Wallet...
The options vary based on what is supported with your specific wallet type.
For Range before I had a lineedit with placeholders begin and end, @achow101 suggested I used QSpinBox, but it doesn't have placeholder text. So Currently if both are default value it counts as no input. It would look very nice if I implemented a custom QAbstractSpinBox with placeholder text, but I am not sure if it is overkill for this PR.