Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.8] [Infrastructure UI] Filter control re-rendering problem fix (#1…
…59320) (#159458) # Backport This will backport the following commits from `main` to `8.8`: - [[Infrastructure UI] Filter control re-rendering problem fix (#159320)](#159320) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Carlos Crespo","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-06-12T12:30:23Z","message":"[Infrastructure UI] Filter control re-rendering problem fix (#159320)\n\nfixes #159317 \r\n\r\n## Summary\r\n\r\nThis PR fixes a problem in the utilization of the `ControlGroupRenderer`\r\ncomponent in the Hosts View. The problem originated from the need to\r\nmanually compare changes in the `filterPanel` object, to prevent the\r\npage from making duplicate requests\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2767137/b38f5691-0519-4ae2-aab2-daaf0f72cd0d\r\n\r\nAfter many changes that the code has been through, the comparison\r\nmentioned above has become unnecessary.\r\n\r\n\r\n\r\n### How to test\r\n\r\n- Start a local Kibana instance\r\n- Navigate to `Infrastructure > Hosts`\r\n- Play with the filter controls (depending on how fast the user is, it\r\nmight hang for a little while, but this won't slow the whole page down)","sha":"bcc4f11e0b97e991d94f5e6368dfa154f753d2ca","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Metrics UI","Team:Infra Monitoring UI","release_note:skip","backport:prev-minor","Feature:ObsHosts","v8.9.0"],"number":159320,"url":"https://github.com/elastic/kibana/pull/159320","mergeCommit":{"message":"[Infrastructure UI] Filter control re-rendering problem fix (#159320)\n\nfixes #159317 \r\n\r\n## Summary\r\n\r\nThis PR fixes a problem in the utilization of the `ControlGroupRenderer`\r\ncomponent in the Hosts View. The problem originated from the need to\r\nmanually compare changes in the `filterPanel` object, to prevent the\r\npage from making duplicate requests\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2767137/b38f5691-0519-4ae2-aab2-daaf0f72cd0d\r\n\r\nAfter many changes that the code has been through, the comparison\r\nmentioned above has become unnecessary.\r\n\r\n\r\n\r\n### How to test\r\n\r\n- Start a local Kibana instance\r\n- Navigate to `Infrastructure > Hosts`\r\n- Play with the filter controls (depending on how fast the user is, it\r\nmight hang for a little while, but this won't slow the whole page down)","sha":"bcc4f11e0b97e991d94f5e6368dfa154f753d2ca"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/159320","number":159320,"mergeCommit":{"message":"[Infrastructure UI] Filter control re-rendering problem fix (#159320)\n\nfixes #159317 \r\n\r\n## Summary\r\n\r\nThis PR fixes a problem in the utilization of the `ControlGroupRenderer`\r\ncomponent in the Hosts View. The problem originated from the need to\r\nmanually compare changes in the `filterPanel` object, to prevent the\r\npage from making duplicate requests\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2767137/b38f5691-0519-4ae2-aab2-daaf0f72cd0d\r\n\r\nAfter many changes that the code has been through, the comparison\r\nmentioned above has become unnecessary.\r\n\r\n\r\n\r\n### How to test\r\n\r\n- Start a local Kibana instance\r\n- Navigate to `Infrastructure > Hosts`\r\n- Play with the filter controls (depending on how fast the user is, it\r\nmight hang for a little while, but this won't slow the whole page down)","sha":"bcc4f11e0b97e991d94f5e6368dfa154f753d2ca"}}]}] BACKPORT--> Co-authored-by: Carlos Crespo <[email protected]>
- Loading branch information