-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Replace input filed with password field and added password error message #42030
Conversation
/backport to stable28 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the issue, but has 2 drawbacks:
- Now a user always needs +1 more click to see the generated password
- On edit of saved password, this might not be clear that an empty password field is a new password field and there is a password.
@nextcloud/designers What do you think?
This I’d say is less of an issue
@ShGKme I’m not sure I fully understand, especially the part "[…] is a new password field and there is a password" – it looks fine from your posted video above, but it only shows one flow. |
Just to be clear, a user always needs it because checking "set password" generates a random password.
When you open an existing share with a password, you see: I'm not sure that it is clear that it is "enter a new password to change it" and not "you have set a password and it is an empty password". |
@ShGKme thanks for explaining. Well both of those cases are confusing, the second one even more than the first. In both cases, ideally the password should be shown in plain text from a UX point of view. If that is a security concern, instead of the plain input field we could instead show feedback text like:
That way it would also be a 2-step process, but way clearer what it is about, and clicking on "Edit" should also directly show the password in plain text. |
We can show the password only when a user checks "Set password" and a new password is generated. Here the only issue could be that "Show password" is But for security concerns, we don't actually store the password. So when users edit an existing entry, they can set a new password, but can neither see nor edit the previously entered password. |
Dear designers, a kindly reminder: this is only a small a11y issue regarding error text which was not there before. We can do all improvements after certification 🙏. Do you have any considerations regarding this error text? If not, please approve this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error text is fine, so not blocked from that side @JuliaKirschenheuter :)
Remove unneeded NcDateTimePicker Signed-off-by: julia.kirschenheuter <[email protected]>
97b5f0a
to
696545b
Compare
@JuliaKirschenheuter please, you should track a new issue for the improvements, so we ensure it gets done. Thank you... |
Summary
Before:
After:
Checklist