-
Notifications
You must be signed in to change notification settings - Fork 492
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
Wallet rename #11652
Wallet rename #11652
Conversation
I had an idea while reading the code, I'm sharing as maybe it's interesting (maybe it isn't): Instead of introducing It's obviously a hacky solution, but it avoids changing the reliance on the name as an ID (which maybe is not even good in the first place soo....) |
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.
the Rename
button is still clickable while it is not visible
BackupTaking a look at the backup logic, it doesn't care if there is already a different wallet with the same file name. It just overrides it. UXI think we should introduce a separate dialog for renaming the wallet. Similar to how the user can edit the label of an address. With this you could validate the input and only enable the So in settings:
Which would pop a compact dialog. |
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.
fwiw: I just also tested the RPC with this PR, works fine.
also tested renaming in the GUI and after that the RPC only recognizes the new wallet name
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.
This doesn't work for me on Win10.
Thanks for the heads up @yahiheb ! Should work now :) |
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.
tACK
- Renaming multiple wallets.
- Renaming during CJ critical phase.
- Same name not allowed.
- Special characters.
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.
tack 7765369 could not break it.
two nits:
- In the UI, why the large spacing between
Name
and the rename button? - normally when launching Wasabi it will automatically select the latest used wallet. It doesn't do that when having renamed the wallet. I guess that's ok.
That is the standard layout. Title to the left, actions buttons to the right. It will align better when more setting is added (like it is in the app settings).
Bug. #12253 |
This PR allows renaming a wallet by going into Wallet Settings
WalletWasabi.Fluent.Desktop_qgvbjQVA2c.mp4
I'm trying to keep things as simple as I can with this.
Will require thorough testing.
Closes #3527