wallet-cli icon indicating copy to clipboard operation
wallet-cli copied to clipboard

no cancel option available

Open laremas opened this issue 2 years ago • 3 comments

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.

laremas avatar Sep 27 '22 11:09 laremas

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.

sophielouisefeith avatar Sep 29 '22 14:09 sophielouisefeith

I would like to reopen this, as it seems doable to implement ESC interceptor with requestty

herr-seppia avatar Oct 03 '22 12:10 herr-seppia

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:

  1. 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.
  2. 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)
  3. 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)

ZER0 avatar Oct 04 '22 09:10 ZER0