-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Convert account screen to React/EUI #30977
Convert account screen to React/EUI #30977
Conversation
Pinging @elastic/kibana-security |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
retest |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
💔 Build Failed |
this is what I get for pushing updates without testing 😐 |
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.
} | ||
|
||
public static async getUser(username: string): Promise<User> { | ||
const url = `${usersUrl}/${username}`; |
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.
We weren't doing so previously, and the validation on the forms themselves is likely mitigating against this, but can we use encodeURIComponent
here, and else-where in this file, when building URLs just to be safe?
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.
You got it! a03183d
Good catch, fixed in 08b0ac5. Thanks! |
💚 Build Succeeded |
* WIP account management redesign * style updates * start implementing change password logic * restyle * remove api key management section * improved change password validation * first round of design edits * cleanup and testing * fix import * fix translations * fix error handling on user management page * consolidate password change logic * fix tests * happy linter, happy life * finish change password test * removes unused translations * fix typo in test * fix change password functional test * Design edits (#19) - Made `fullWidth` - Added a consistent password requirement help text - Use `title` for toast - Change username/email to us `dl` - Don’t use html elements in tests * clear password form on success * copy edits * fix handling of Change Password button * use encodeURIComponent for user supplied data
Reverted in a70a2cd |
Resubmitted in #35151 |
## Summary This is a resubmission of #30977, which was reverted due to a functional test failure after merging. "Release note: Refreshed the look-and-feel of the account management screen."
## Summary This is a resubmission of elastic#30977, which was reverted due to a functional test failure after merging. "Release note: Refreshed the look-and-feel of the account management screen."
Summary
This converts the account management screen to React/EUI.
Closes #30844
Account with no Full Name or email address
Account with Full Name and email address
Account with password change disabled (e.g., SAML):
i18n test:
TODO
"Release note: Refreshed the look-and-feel of the account management screen."