-
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
[Roles] Fix wording for updating roles toast to match button text #194427
[Roles] Fix wording for updating roles toast to match button text #194427
Conversation
Pinging @elastic/kibana-security (Team:Security) |
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.
LGTM! Just one nit, which wasn't mentioned by the original reporter.
notifications.toasts.addSuccess( | ||
i18n.translate( | ||
'xpack.security.management.editRole.roleSuccessfullySavedNotificationMessage', | ||
{ defaultMessage: 'Saved role' } |
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.
Nit: the button in the create render of the edit role page reads "Create role". Should we also update the toast for this to match?
{ defaultMessage: 'Saved role' } | |
{ defaultMessage: 'Created role' } |
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.
Yes, i think it makes sense to do so.
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.
Done in c86d79c
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.
LGTM, just left one last change request. Approving to not hold this up.
x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Jeramy Soucy <[email protected]>
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI Steps
Test Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…astic#194427) Closes elastic#194406 ## Summary Fix wording for Roles update toast to match button when updating an existing role. ### Screenshots <img width="746" alt="image" src="https://github.com/user-attachments/assets/674a57f3-5a5a-445a-9266-8b55526aef72"> ### Release notes Changes wording for toast message when updating an existing role successfully. The toast now matches the button to say `Updated role` --------- Co-authored-by: Jeramy Soucy <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Closes #194406
Summary
Fix wording for Roles update toast to match button when updating an existing role.
Screenshots
Release notes
Changes wording for toast message when updating an existing role successfully. The toast now matches the button to say
Updated role