-
Notifications
You must be signed in to change notification settings - Fork 512
Move change user password modal #806
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
Move change user password modal #806
Conversation
Created Icon button on UserDetails.tsx with drop down menu for Change User Password and Delete User prompts, removed pencil icon from ListUsers.tsx
bexsoft
left a comment
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.
Beside of that, LGTM
| return; | ||
| } | ||
|
|
||
| if (newPassword.length < 8) { |
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.
What is the difference between this component and ChangeUserPasswordModal?
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.
ChangePasswordModal is for the current user, which asks for current password and the other one is to change some other user's password
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, I think it would be better to merge these two components into a single one, and just use a flag to show / hide fields, We can do this in a new PR
fixes https://github.com/miniohq/engineering/issues/158
What does this do?
Moved Change User Password feature to UserDetails page, located in an iconbutton accessed menu along with DeleteUser
How does it look?



