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 Solution][EuiInMemoryTable] Replace usage of deprecated ref method with controlled selection.selected API #175726

Merged

Conversation

cee-chen
Copy link
Contributor

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 basic usages of controlled selection, which should not suffer any UI/UX regressions.

See also:

@cee-chen cee-chen force-pushed the eui-table-selection-controlled-advanced-2 branch from 6cbfb6b to 106dc84 Compare January 26, 2024 21:23
@cee-chen
Copy link
Contributor Author

/ci

@cee-chen
Copy link
Contributor Author

cee-chen commented Jan 27, 2024

@xcrzx any chance I could tap you in for help with the CI failures? I'm not totally sure what's going on there or how to run Defend Workflow's tests locally.

EDIT: looks it was unrelated, thank you so much @tomsonpl!!

@tomsonpl
Copy link
Contributor

/ci

@tomsonpl
Copy link
Contributor

/ci

@cee-chen cee-chen marked this pull request as ready for review January 27, 2024 20:28
@cee-chen cee-chen requested a review from a team as a code owner January 27, 2024 20:28
@cee-chen cee-chen requested a review from dplumlee January 27, 2024 20:28
@elasticmachine
Copy link
Contributor

Pinging @elastic/eui-team (EUI)

Copy link
Contributor

@dplumlee dplumlee left a comment

Choose a reason for hiding this comment

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

Pulled down and tested some use cases, lgtm!

@cee-chen cee-chen enabled auto-merge (squash) January 30, 2024 18:42
@cee-chen
Copy link
Contributor Author

Thanks a million @dplumlee!

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 4953 4952 -1

Async chunks

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

id before after diff
securitySolution 11.2MB 11.2MB -287.0B

History

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

@cee-chen cee-chen merged commit 9e720d0 into elastic:main Jan 30, 2024
36 checks passed
@cee-chen cee-chen deleted the eui-table-selection-controlled-advanced-2 branch January 30, 2024 19:51
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jan 30, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
… method with controlled `selection.selected` API (elastic#175726)

## 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 basic usages of controlled selection, which should not suffer
any UI/UX regressions.

See also: 
- elastic/eui#7321
- elastic#175722 (examples of basic
conversions)

Co-authored-by: Tomasz Ciecierski <[email protected]>
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
… method with controlled `selection.selected` API (elastic#175726)

## 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 basic usages of controlled selection, which should not suffer
any UI/UX regressions.

See also: 
- elastic/eui#7321
- elastic#175722 (examples of basic
conversions)

Co-authored-by: Tomasz Ciecierski <[email protected]>
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.

6 participants