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

[Response Ops] Triggers Actions Alert table unmounts / remounts complete row when clicking on checkbox. #155229

Closed
logeekal opened this issue Apr 19, 2023 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience fixed QA:Validated Issue has been validated by QA Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) triage_needed

Comments

@logeekal
Copy link
Contributor

Describe the bug:
Triggers Actions Alert table unmounts / remounts complete row when clicking on checkbox.

Ideally, only checkbox column should be re-rendered but currrenty, table is rebuilding the row from scratch and because of it there is flicker visible in the row when it has a bigger height.

Please see the below video examples from o11y and Security solution.

o11y Example

The change is not visually visible in o11y so I applied some styles to the content and On clicking the checkbox, you can see that styles are gone and the content was remounted. This happens irrespective of what the content is.

o11y.issue.mov

Issue - Security Solution example

The issue is clearly visible when row has a substantial height.

Screen.Recording.2023-04-19.at.10.07.01.mov

Security Solution No issue

We are using EuiDataGrid at other places in Security solution and same issue does not occur there. So it is not EuiDataGrid issue. Please see the video below

Screen.Recording.2023-04-19.at.10.12.40.mov

This also leads to slow perceived performance of alert table.

Kibana/Elasticsearch Stack version:
8.8

Server OS version:
Macos

Browser and Browser OS versions:

Elastic Endpoint version:
Not relevant

Original install method (e.g. download page, yum, from source, etc.):

Functional Area (e.g. Endpoint management, timelines, resolver, etc.):

Steps to reproduce:

  1. Go to Security -> Alerts
  2. Change to Event Rendered View
  3. Select any row by clicking on the checkbox and observe the flicker. Video shared above.

Current behavior:

Whole row is re-remounted when checkbox is clicked.

Expected behavior:

Whole should not re-mounted when checkbox is clicked.

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context (logs, chat logs, magical formulas, etc.):

@logeekal logeekal added bug Fixes for quality problems that affect the customer experience triage_needed Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Apr 19, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

logeekal added a commit that referenced this issue May 2, 2023
…+ TopN Not rendering (#155478)

## Summary

This PR handles : 
-  Column width is reset when alert table re-renders #154796 
- [Response Ops] Triggers Actions Alert table un-mounts / remounts
complete row when clicking on checkbox. #155229
- [Security Solution] TopN does not work on Alert Table in Event
Rendered View #155152


|Before | After |
|---|---|
| <video
src="https://user-images.githubusercontent.com/7485038/233974827-548c7e61-0737-436c-8384-0faa923ab5d7.mov"
/> | <video
src="https://user-images.githubusercontent.com/7485038/234316670-4cd318bd-8fde-45ed-999d-a6a78bbf0432.mov"
/>

 |
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue May 2, 2023
…+ TopN Not rendering (elastic#155478)

## Summary

This PR handles :
-  Column width is reset when alert table re-renders elastic#154796
- [Response Ops] Triggers Actions Alert table un-mounts / remounts
complete row when clicking on checkbox. elastic#155229
- [Security Solution] TopN does not work on Alert Table in Event
Rendered View elastic#155152

|Before | After |
|---|---|
| <video
src="https://user-images.githubusercontent.com/7485038/233974827-548c7e61-0737-436c-8384-0faa923ab5d7.mov"
/> | <video
src="https://user-images.githubusercontent.com/7485038/234316670-4cd318bd-8fde-45ed-999d-a6a78bbf0432.mov"
/>

 |

(cherry picked from commit eba1001)
kibanamachine added a commit that referenced this issue May 2, 2023
…reset + TopN Not rendering (#155478) (#156411)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Security Solution] [Fix] Alert Table re-render + column width reset
+ TopN Not rendering
(#155478)](#155478)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Jatin
Kathuria","email":"jatin.kathuria@elastic.co"},"sourceCommit":{"committedDate":"2023-05-02T15:22:26Z","message":"[Security
Solution] [Fix] Alert Table re-render + column width reset + TopN Not
rendering (#155478)\n\n## Summary\r\n\r\nThis PR handles : \r\n- Column
width is reset when alert table re-renders #154796 \r\n- [Response Ops]
Triggers Actions Alert table un-mounts / remounts\r\ncomplete row when
clicking on checkbox. #155229\r\n- [Security Solution] TopN does not
work on Alert Table in Event\r\nRendered View #155152\r\n\r\n\r\n|Before
| After |\r\n|---|---|\r\n|
<video\r\nsrc=\"https://user-images.githubusercontent.com/7485038/233974827-548c7e61-0737-436c-8384-0faa923ab5d7.mov\"\r\n/>
|
<video\r\nsrc=\"https://user-images.githubusercontent.com/7485038/234316670-4cd318bd-8fde-45ed-999d-a6a78bbf0432.mov\"\r\n/>\r\n\r\n
|","sha":"eba1001c64f1084293f6c18d8aa6e7aaff1c568d","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Team:Threat
Hunting:Investigations","v8.8.0","v8.9.0"],"number":155478,"url":"https://github.com/elastic/kibana/pull/155478","mergeCommit":{"message":"[Security
Solution] [Fix] Alert Table re-render + column width reset + TopN Not
rendering (#155478)\n\n## Summary\r\n\r\nThis PR handles : \r\n- Column
width is reset when alert table re-renders #154796 \r\n- [Response Ops]
Triggers Actions Alert table un-mounts / remounts\r\ncomplete row when
clicking on checkbox. #155229\r\n- [Security Solution] TopN does not
work on Alert Table in Event\r\nRendered View #155152\r\n\r\n\r\n|Before
| After |\r\n|---|---|\r\n|
<video\r\nsrc=\"https://user-images.githubusercontent.com/7485038/233974827-548c7e61-0737-436c-8384-0faa923ab5d7.mov\"\r\n/>
|
<video\r\nsrc=\"https://user-images.githubusercontent.com/7485038/234316670-4cd318bd-8fde-45ed-999d-a6a78bbf0432.mov\"\r\n/>\r\n\r\n
|","sha":"eba1001c64f1084293f6c18d8aa6e7aaff1c568d"}},"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/155478","number":155478,"mergeCommit":{"message":"[Security
Solution] [Fix] Alert Table re-render + column width reset + TopN Not
rendering (#155478)\n\n## Summary\r\n\r\nThis PR handles : \r\n- Column
width is reset when alert table re-renders #154796 \r\n- [Response Ops]
Triggers Actions Alert table un-mounts / remounts\r\ncomplete row when
clicking on checkbox. #155229\r\n- [Security Solution] TopN does not
work on Alert Table in Event\r\nRendered View #155152\r\n\r\n\r\n|Before
| After |\r\n|---|---|\r\n|
<video\r\nsrc=\"https://user-images.githubusercontent.com/7485038/233974827-548c7e61-0737-436c-8384-0faa923ab5d7.mov\"\r\n/>
|
<video\r\nsrc=\"https://user-images.githubusercontent.com/7485038/234316670-4cd318bd-8fde-45ed-999d-a6a78bbf0432.mov\"\r\n/>\r\n\r\n
|","sha":"eba1001c64f1084293f6c18d8aa6e7aaff1c568d"}}]}] BACKPORT-->

Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co>
@logeekal logeekal added the fixed label May 3, 2023
@MadameSheema
Copy link
Member

@karanbirsingh-qasource @sukhwindersingh-qasource please validate the fix on BC2 for Security Solution. Thanks!

@ghost
Copy link

ghost commented May 8, 2023

Hi @MadameSheema

We have validated this issue on 8.8 BC2 and found the issue to be fixed ✔️ .

Build Details:

Version: 8.8 BC2
Commit:33efd47ee6927b54b328e901fe31d31eae875325
Build:62857

Screen-Cast

Alerts.-.Kibana.Mozilla.Firefox.2023-05-08.13-16-03.mp4

Hence we are Closing this issue and adding "QA:Source" tag to it.

thanks !!

@ghost ghost closed this as completed May 8, 2023
@ghost ghost added the QA:Validated Issue has been validated by QA label May 8, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience fixed QA:Validated Issue has been validated by QA Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) triage_needed
Projects
None yet
Development

No branches or pull requests

3 participants