keepassium / KeePassium

KeePass-compatible password manager for iOS
https://keepassium.com
Other
1.21k stars 103 forks source link

Pressing enter with an empty password should open the Touch ID dialog #253

Closed moenodedev closed 2 years ago

moenodedev commented 2 years ago

When the MacOS app opens, pressing enter with an empty password should open the Touch ID dialog so that you don't have to use the mouse (to click the Touch ID button). The tab key doesn't switch inputs therefore you're forced to use the mouse to use the app.

Screenshot 2022-09-17 at 9 42 47 PM
keepassium commented 2 years ago

Good point, thanks!

moenodedev commented 2 years ago

Why escape instead of enter like KeeWeb or 1Password?

keepassium commented 2 years ago

Why escape instead of enter like KeeWeb or 1Password?

Enter did not feel right in terms of UX. Basically, Enter in that context means "here's my passcode" — and it felt like sending an empty passcode using the disabled Unlock button. This would give the user a confusing impression that disabled buttons are not always really disabled, but sometimes do something useful.

In the meanwhile, Escape generally means "I don't like this dialog, get me out". This seems more intuitive than Enter, although not perfect still. Perhaps I should add a "Press Esc for Touch ID" underneath the buttons…