Skip to content
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

[Spaces and Roles] Updates for finalized contents and UX #193923

Merged

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented Sep 24, 2024

Summary

Follows #191795

  • Minor content updates to Spaces Management
  • [spaces grid] More space for "description" column in Spaces Grid
  • [create space and edit space] Add "New" badge to Solution View picker
  • [create space and edit space] Move avatar section down
  • [create space] Remove the edit/update functionality from the Create Space page
  • [create space] Only show the Feature Visibility section if the selected solution is classic
  • [edit space] Rearrange the footer icons in the General tab
  • [edit space] Show callout when classic is selected by default
  • [edit space] Update the action icons shown on hover on the Assigned Roles table

Checklist

Delete any items that are not applicable to this PR.

@@ -404,7 +402,7 @@ export class FeatureTable extends Component<Props, State> {
'xpack.security.management.editRole.featureTable.managementCategoryHelpText',
{
defaultMessage:
'Access to Stack Management is determined by both Elasticsearch and Kibana privileges, and cannot be explicitly disabled.',
'Additional Stack Management permissions can be found outside of this menu, in index and cluster privileges.',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

</h3>
</EuiFlexItem>
<EuiFlexItem>
<EuiBetaBadge
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If solution view is set:
image

If classic view is set:
image

@tsullivan tsullivan force-pushed the spaces/assign-roles-to-space-content-update branch from e80af03 to 36a4e10 Compare September 24, 2024 21:38
size="s"
iconType="iInCircle"
title={i18n.translate(
'xpack.spaces.management.manageSpacePage.solutionViewSelect.classicDefaultViewCallout',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@tsullivan tsullivan added release_note:skip Skip the PR/issue when compiling release notes v8.16.0 backport:version Backport to applied version labels Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! 8.17 candidate labels Sep 24, 2024
@tsullivan tsullivan force-pushed the spaces/assign-roles-to-space-content-update branch from 2c89ba8 to 46f10a2 Compare September 26, 2024 18:46
@tsullivan tsullivan marked this pull request as ready for review September 26, 2024 23:16
@tsullivan tsullivan requested a review from a team as a code owner September 26, 2024 23:16
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

Copy link
Contributor

@elena-shostak elena-shostak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM! I just noticed that the text is jumping if we have the note for default Classic solution

Screen.Recording.2024-09-27.at.17.39.32.mov

Comment on lines 160 to 163
? space.solution
: showClassicDefaultViewCallout
? SOLUTION_VIEW_CLASSIC
: undefined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, maybe simplify nested ternary?

space.solution ?? (showClassicDefaultViewCallout ? SOLUTION_VIEW_CLASSIC : undefined)

@tsullivan
Copy link
Member Author

Overall LGTM! I just noticed that the text is jumping if we have the note for default Classic solution

@elena-shostak good catch! I see what you mean. It looks like the Focus the navigation and menus... text isn't vertically aligned correctly when the solution is set to Classic.

@tsullivan
Copy link
Member Author

tsullivan commented Sep 30, 2024

@elena-shostak even though you have already approved, would you like to take another look? I manually resolved some merge conflicts, and fixed the issue with the text jumping around in the Solution View picker.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
security 590.8KB 590.8KB -28.0B
spaces 256.9KB 254.0KB -2.8KB
total -2.9KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@elena-shostak
Copy link
Contributor

@elena-shostak even though you have already approved, would you like to take another look? I manually resolved some merge conflicts, and fixed the issue with the text jumping around in the Solution View picker.

LGTM! Thanks

@tsullivan tsullivan merged commit 3f90156 into elastic:main Oct 1, 2024
21 checks passed
@tsullivan tsullivan deleted the spaces/assign-roles-to-space-content-update branch October 1, 2024 19:22
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11132050996

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 1, 2024
)

## Summary

Follows elastic#191795

* Minor content updates to Spaces Management
* [spaces grid] More space for "description" column in Spaces Grid
* [create space and edit space] Add "New" badge to Solution View picker
* [create space and edit space] Move avatar section down
* [create space] Remove the edit/update functionality from the Create
Space page
* [create space] Only show the Feature Visibility section if the
selected solution is `classic`
* [edit space] Rearrange the footer icons in the General tab
* [edit space] Show callout when classic is selected by default
* [edit space] Update the action icons shown on hover on the Assigned
Roles table

### Checklist

Delete any items that are not applicable to this PR.

- [X] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [X] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [X] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

(cherry picked from commit 3f90156)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 1, 2024
…) (#194637)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Spaces and Roles] Updates for finalized contents and UX
(#193923)](#193923)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-01T19:22:29Z","message":"[Spaces
and Roles] Updates for finalized contents and UX (#193923)\n\n##
Summary\r\n\r\nFollows
https://github.com/elastic/kibana/pull/191795\r\n\r\n* Minor content
updates to Spaces Management\r\n* [spaces grid] More space for
\"description\" column in Spaces Grid\r\n* [create space and edit space]
Add \"New\" badge to Solution View picker\r\n* [create space and edit
space] Move avatar section down\r\n* [create space] Remove the
edit/update functionality from the Create\r\nSpace page\r\n* [create
space] Only show the Feature Visibility section if the\r\nselected
solution is `classic`\r\n* [edit space] Rearrange the footer icons in
the General tab\r\n* [edit space] Show callout when classic is selected
by default\r\n* [edit space] Update the action icons shown on hover on
the Assigned\r\nRoles table\r\n\r\n### Checklist\r\n\r\nDelete any items
that are not applicable to this PR.\r\n\r\n- [X] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [X] This
renders correctly on smaller devices using a responsive\r\nlayout. (You
can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[X] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"3f901562cffd9b8d7ff4f4e872c4e7ccf8575719","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","v8.16.0","8.17
candidate","backport:version"],"title":"[Spaces and Roles] Updates for
finalized contents and
UX","number":193923,"url":"https://github.com/elastic/kibana/pull/193923","mergeCommit":{"message":"[Spaces
and Roles] Updates for finalized contents and UX (#193923)\n\n##
Summary\r\n\r\nFollows
https://github.com/elastic/kibana/pull/191795\r\n\r\n* Minor content
updates to Spaces Management\r\n* [spaces grid] More space for
\"description\" column in Spaces Grid\r\n* [create space and edit space]
Add \"New\" badge to Solution View picker\r\n* [create space and edit
space] Move avatar section down\r\n* [create space] Remove the
edit/update functionality from the Create\r\nSpace page\r\n* [create
space] Only show the Feature Visibility section if the\r\nselected
solution is `classic`\r\n* [edit space] Rearrange the footer icons in
the General tab\r\n* [edit space] Show callout when classic is selected
by default\r\n* [edit space] Update the action icons shown on hover on
the Assigned\r\nRoles table\r\n\r\n### Checklist\r\n\r\nDelete any items
that are not applicable to this PR.\r\n\r\n- [X] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [X] This
renders correctly on smaller devices using a responsive\r\nlayout. (You
can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[X] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"3f901562cffd9b8d7ff4f4e872c4e7ccf8575719"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193923","number":193923,"mergeCommit":{"message":"[Spaces
and Roles] Updates for finalized contents and UX (#193923)\n\n##
Summary\r\n\r\nFollows
https://github.com/elastic/kibana/pull/191795\r\n\r\n* Minor content
updates to Spaces Management\r\n* [spaces grid] More space for
\"description\" column in Spaces Grid\r\n* [create space and edit space]
Add \"New\" badge to Solution View picker\r\n* [create space and edit
space] Move avatar section down\r\n* [create space] Remove the
edit/update functionality from the Create\r\nSpace page\r\n* [create
space] Only show the Feature Visibility section if the\r\nselected
solution is `classic`\r\n* [edit space] Rearrange the footer icons in
the General tab\r\n* [edit space] Show callout when classic is selected
by default\r\n* [edit space] Update the action icons shown on hover on
the Assigned\r\nRoles table\r\n\r\n### Checklist\r\n\r\nDelete any items
that are not applicable to this PR.\r\n\r\n- [X] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [X] This
renders correctly on smaller devices using a responsive\r\nlayout. (You
can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[X] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"3f901562cffd9b8d7ff4f4e872c4e7ccf8575719"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tim Sullivan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.17 candidate backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants