Skip to content

Conversation

@kqualters-elastic
Copy link
Contributor

Summary

This pr should change nothing functionally, but changes the selectors used in components for sourcerer to make use of createSelector and benefit from memoization at all times,

@kqualters-elastic kqualters-elastic added release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team labels Feb 14, 2024
@kqualters-elastic
Copy link
Contributor Author

/ci

@kqualters-elastic kqualters-elastic marked this pull request as ready for review February 15, 2024 16:02
@kqualters-elastic kqualters-elastic requested review from a team as code owners February 15, 2024 16:02
Comment on lines +112 to +121
sourcerer: {
...mockGlobalState.sourcerer,
sourcererScopes: {
...mockGlobalState.sourcerer.sourcererScopes,
analyzer: {
...mockGlobalState.sourcerer.sourcererScopes.default,
selectedPatterns: indices,
},
},
},
Copy link
Contributor

Choose a reason for hiding this comment

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

😆

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

the code LGTM and I smoke tested the application

Copy link
Contributor

@semd semd left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks Kevin 🚀

@kqualters-elastic kqualters-elastic enabled auto-merge (squash) February 19, 2024 18:20
@nkhristinin
Copy link
Contributor

It looks great, thanks @kqualters-elastic !

@kibana-ci
Copy link

💚 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
securitySolution 13.0MB 13.0MB +1.2KB

History

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

@kqualters-elastic kqualters-elastic merged commit 7745d36 into elastic:main Feb 23, 2024
@kibanamachine kibanamachine added v8.14.0 backport:skip This PR does not require backporting labels Feb 23, 2024
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
…ectors (elastic#176916)

## Summary
This pr should change nothing functionally, but changes the selectors
used in components for sourcerer to make use of createSelector and
benefit from memoization at all times,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team v8.14.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants