Convert security management pages to new layout#101660
Convert security management pages to new layout#101660legrego merged 24 commits intoelastic:masterfrom
Conversation
| <FormattedMessage | ||
| id="xpack.security.management.roleMappings.noCompatibleRealmsErrorTitle" | ||
| defaultMessage="No compatible realms are enabled in Elasticsearch" | ||
| defaultMessage="No compatible realms appear to be enabled in Elasticsearch" |
There was a problem hiding this comment.
This wasn't necessary, but it softens the language because we aren't 100% sure that there aren't any compatible realms
|
Pinging @elastic/kibana-security (Team:Security) |
.../security/public/management/role_mappings/components/permission_denied/permission_denied.tsx
Outdated
Show resolved
Hide resolved
...lugins/security/public/management/role_mappings/edit_role_mapping/edit_role_mapping_page.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx
Outdated
Show resolved
Hide resolved
...ns/security/public/management/api_keys/api_keys_grid/permission_denied/permission_denied.tsx
Outdated
Show resolved
Hide resolved
.../plugins/security/public/management/roles/roles_grid/permission_denied/permission_denied.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/spaces/public/management/edit_space/manage_space_page.tsx
Show resolved
Hide resolved
x-pack/plugins/spaces/public/management/spaces_grid/spaces_grid_page.tsx
Outdated
Show resolved
Hide resolved
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@watson this is ready for review if you have a chance to take a look |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
| if (!isLoadingTable && apiKeys && apiKeys.length === 0) { | ||
| return ( | ||
| <EuiPageContent> | ||
| <EuiPageContent verticalPosition="center" horizontalPosition="center" color="subdued"> |
There was a problem hiding this comment.
@cchaos Should the create button in the empty prompt use the same "iconInCircleFilled" icon as the ones in the header on the index page? Seems a bit inconsistent but it's displayed that way in the meta issue too.
There was a problem hiding this comment.
Ah I pushed a commit for this before I realized you asked @cchaos for input. I updated this to be plusInCircleFilled as that's consistent with the other "Create" buttons, but I'm happy to adjust as necessary
There was a problem hiding this comment.
For fill style buttons, the Filled icon is best :) sorry for the late response
There was a problem hiding this comment.
@cchaos Sorry, I was talking about the empty prompts.
We show an icon in the CTA on the index pages:
But we do not do that for the empty state:
Seems inconsistent and I was wondering if that's intentional.
There was a problem hiding this comment.
THere's no real pattern for the empty state version of CTA's. You can add one if you'd like. I wouldn't hold up this PR for it though 😉
…ent-page-conversions
…o/kibana into chore/management-page-conversions
|
@elasticmachine merge upstream |
thomheymann
left a comment
There was a problem hiding this comment.
Looks great - so much nicer than before! 🙌
I noticed a couple small issues.
The panels at the bottom of the user form seem to be stretching out in height now which they didn't before and looks off:
If I read @cchaos earlier comment correctly we should be using filled icon styles for filled buttons and outlined icons for the ones inside role management:
If that's not the case then we should update role mappings form as well but I think outlined icon looks better for unfilled buttons:
| public render() { | ||
| return ( | ||
| <EuiPanel> | ||
| <EuiPanel hasShadow={false} hasBorder={true}> |
There was a problem hiding this comment.
nit: I think hasShadow defaults to false when hasBorder is enabled so you could simplify this to:
<EuiPanel hasBorder>…ent-page-conversions
…o/kibana into chore/management-page-conversions
|
@thomheymann thanks for the review! I updated the edit role screen to use outlined icons in its buttons for consistency, as you suggested. As for the actions on the user management page, I wasn't able to reproduce the stretched layout that you experienced: |
|
@elasticmachine merge upstream |
…ent-page-conversions
…o/kibana into chore/management-page-conversions
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |







Summary
Updates the security stack management apps to conform to the new layout as outlined in #101336
Users
Roles
Role mappings
API Keys
Spaces