-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Transforms/DFA: Render EuiDataGrid for more than 0 rows. #156403
[ML] Transforms/DFA: Render EuiDataGrid for more than 0 rows. #156403
Conversation
Pinging @elastic/ml-ui (:ml) |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: cc @walterra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ⚡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested and confirmed that the React warning is no longer displayed.
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…156403) (#156503) # Backport This will backport the following commits from `main` to `8.8`: - [[ML] Transforms/DFA: Render EuiDataGrad for more than 0 rows. (#156403)](#156403) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Walter Rafelsberger","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-05-03T10:22:39Z","message":"[ML] Transforms/DFA: Render EuiDataGrad for more than 0 rows. (#156403)\n\nFixes the React dev mode warning \"Warning: Can't perform a React state\r\nupdate on an unmounted component.\" by only rendering `EuiDataGrid` if\r\nthere's more than 0 rows.","sha":"3f52ff6fceddbce0d538dce410e734b2131b4eb3","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug",":ml","release_note:skip","v8.8.0","v8.9.0"],"number":156403,"url":"https://github.com/elastic/kibana/pull/156403","mergeCommit":{"message":"[ML] Transforms/DFA: Render EuiDataGrad for more than 0 rows. (#156403)\n\nFixes the React dev mode warning \"Warning: Can't perform a React state\r\nupdate on an unmounted component.\" by only rendering `EuiDataGrid` if\r\nthere's more than 0 rows.","sha":"3f52ff6fceddbce0d538dce410e734b2131b4eb3"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156403","number":156403,"mergeCommit":{"message":"[ML] Transforms/DFA: Render EuiDataGrad for more than 0 rows. (#156403)\n\nFixes the React dev mode warning \"Warning: Can't perform a React state\r\nupdate on an unmounted component.\" by only rendering `EuiDataGrid` if\r\nthere's more than 0 rows.","sha":"3f52ff6fceddbce0d538dce410e734b2131b4eb3"}}]}] BACKPORT--> Co-authored-by: Walter Rafelsberger <[email protected]>
Summary
Part of #148228.
Fixes the React dev mode warning "Warning: Can't perform a React state update on an unmounted component." by only rendering
EuiDataGrid
if there's more than 0 rows.Checklist