valory-xyz/trader-quickstart

Improve UX of password: validate if password is correct immediately after asking.

Opened this issue · 1 comments

Currently, the script works as follows:

  1. Asks for password
  2. Downloads trader repository
  3. Validates password after downloading trader repository.

The user might notice that the script proceeds to step 2 even after introducing a wrong password (but it will fail validating it later...).

This may give the impression to the user that the script is proceeding with a wrong password...

A possible improvement is to validate immediately after the user enters the password. This would require refactor when the trader repository is downloaded.

Another UX improvement would help Mac users to avoid confusion between two passwords: service-level password and sudo password.

Namely, the script asks for a first password (service-level)

Enter your password

Your key files are protected with a password.
Please, enter your password: 

later in the execution it may ask for a password again (sudo password)

Generated Deployment!


Type:                 docker-compose
Agents:               1
Build Length          10799



Password: