wallet-cli
wallet-cli copied to clipboard
no cancel option available
Summary
When an action is initialized, users can't cancel it. The only possible way to come back is to close the wallet, reopen it, unlock it, than retry the action.
Possible solution design or implementation
Add a cancel option to the bottom of each action.
We concluded that the user of the wallet cli knows how to use ctrl c
however for the password and recovery phrase we implemented a 3x times check.
I would like to reopen this, as it seems doable to implement ESC
interceptor with requestty
I wouldn't close this issue since it might be something we want to address eventually, but it's definitely not a priority.
I would create a set of issue UI / UX related, like this one, and try to address them once everything else works and we also might want to change the library (requestty) to provide a better user experience. Since it's a big work, it's not something should be threat lightly.
Just to be clear, issues like those needs to be addressed properly, so in this case for example:
- Having a flow design chart about what happening to each operations when is "canceled"; and what it does means "cancel" it. Foe example, it should be possible to cancel operation that are in progress as well, such as fetching the notes.
- Having a clear indication how the user can can cancel the current operation (e.g. we cannot just add this functionality to a keystroke without telling to the user that this functionality exists in the program)
- Ensure there is a clear distinction between CTRL+C and whatever we want to use to cancel the operation (unless we decided to actually use CTRL+C for that)