Skip to content
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

Triple confirmation of stake add #1713

Open
ppolewicz opened this issue Feb 21, 2024 · 0 comments
Open

Triple confirmation of stake add #1713

ppolewicz opened this issue Feb 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ppolewicz
Copy link

Describe the bug

btcli stake add asks the user:

  1. Do you want to stake to the following keys from owner: (...)
  2. Enter password to unlock key:
  3. Do you want to delegate:
    amount: (...)
    to: (...)
    take: 0.179995422293431
    owner: (...) [y/n]

To Reproduce

add stake via cli

Expected behavior

ideally we'd display the last message and ask for ctrl+C if the user disagrees or for the password if they do agree (if the key is encrypted) or just the final confirmation (if the key is not encrypted). Bothering users with unnecessary questions with long pauses between them is bad UX.

Screenshots

No response

Environment

linux

Additional context

No response

@ppolewicz ppolewicz added the bug Something isn't working label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant