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

[Security][EuiInMemoryTable] Replace usage of deprecated ref method with controlled selection.selected API #175838

Merged

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Jan 29, 2024

Closes #175836

Summary

Please help us QA your affected tables to confirm that your plugin's table selection still works as before!

EUI will shortly be removing this deprecated ref setSelection method in favor of the new controlled selection.selected prop. This PR converts the Security plugin's basic usages of controlled selection and additionally removes 2 deletion cancellation behaviors on the team's request. There should not be any other UI/UX regressions when selecting rows.

See also:

@cee-chen
Copy link
Contributor Author

/ci

@cee-chen cee-chen requested a review from jeramysoucy January 29, 2024 19:43
@cee-chen
Copy link
Contributor Author

cee-chen commented Jan 29, 2024

@jeramysoucy I've opened up a separate PR for the requested Security changes! Please do let me know if I missed anything or if the table selection does not behave as expected 🙏

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #6 / APM API tests services/agent.spec.ts basic apm_8.0.0 Agent name when data is loaded returns the agent name

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 580.3KB 579.9KB -345.0B

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

@cee-chen cee-chen marked this pull request as ready for review January 29, 2024 21:03
@cee-chen cee-chen requested a review from a team as a code owner January 29, 2024 21:03
@cee-chen cee-chen added release_note:skip Skip the PR/issue when compiling release notes EUI v8.13.0 labels Jan 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/eui-team (EUI)

Copy link
Contributor

@jeramysoucy jeramysoucy left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@cee-chen cee-chen merged commit ba5a5c6 into elastic:main Jan 29, 2024
26 checks passed
@cee-chen cee-chen deleted the eui-table-selection-controlled-security branch January 29, 2024 22:35
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jan 29, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
…ith controlled `selection.selected` API (elastic#175838)

Closes elastic#175836

## Summary

**Please help us QA your affected tables to confirm that your plugin's
table selection still works as before!**

EUI will shortly be removing this deprecated ref `setSelection` method
in favor of the new controlled `selection.selected` prop. This PR
converts the Security plugin's basic usages of controlled selection and
additionally removes 2 deletion cancellation behaviors on the team's
request. There should not be any other UI/UX regressions when selecting
rows.

See also: 
- elastic/eui#7321
- elastic#175722 (examples of basic
conversions)
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
…ith controlled `selection.selected` API (elastic#175838)

Closes elastic#175836

## Summary

**Please help us QA your affected tables to confirm that your plugin's
table selection still works as before!**

EUI will shortly be removing this deprecated ref `setSelection` method
in favor of the new controlled `selection.selected` prop. This PR
converts the Security plugin's basic usages of controlled selection and
additionally removes 2 deletion cancellation behaviors on the team's
request. There should not be any other UI/UX regressions when selecting
rows.

See also: 
- elastic/eui#7321
- elastic#175722 (examples of basic
conversions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting EUI release_note:skip Skip the PR/issue when compiling release notes v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Canceling delete operation in Role & Role Mapping grids clears item section
5 participants