-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
User forms UI twig and cleanup #19123
base: main
Are you sure you want to change the base?
Conversation
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.
Ok ! this was indeed a long overdue work.
I agree with functional choice for password change, picture management, and organization of the fields.
One suggestion for password init in the new form, I think the related fields could be better placed on the right (where there is an empty space), if possible
The empty space is from me grouping all of the password fields together to keep them inline. Maybe they would be better at the end of the form? |
it would probably be better, yes. |
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.
The new E2E test fails.
Checklist before requesting a review
Description
This was going to just be a simple migration of the User forms to Twig, but the old layout looked worse when migrated as-is. In both the old and new, the form felt cluttered as well. The picture and password sections specifically felt messy.
Changes:
Screenshots
Original form:

Super-Admin looking at own, full user form:

LDAP User form:

Technician looking at super-admin form:

Looking at own "My settings" form:

New user form (Ability to set picture for a new user was already missing):

Change other user's password:

Change password field text after setting new password, but before saving the form:
