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] UI breaks when click on full screen icon under Timeline #137043

Closed
ghost opened this issue Jul 25, 2022 · 14 comments · Fixed by #138091
Closed

[Security Solution] UI breaks when click on full screen icon under Timeline #137043

ghost opened this issue Jul 25, 2022 · 14 comments · Fixed by #138091
Assignees
Labels
bug Fixes for quality problems that affect the customer experience fixed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team v8.4.0

Comments

@ghost
Copy link

ghost commented Jul 25, 2022

Describe the bug
UI breaks when click on full screen icon under Timeline

Build info

VERSION : 8.4.0 SNAPSHOT
BUILD: 54789
COMMIT: af3a3cba9a7fa3b3e0d2e4766a1db11a5ff4f192

Preconditions

  1. Kibana should be running
  2. Alerts should be created

Steps to Reproduce

  1. Navigate to security > Alerts page
  2. Click on timeline investigate
  3. Click on full screen icon
  4. Observe that UI breaks when click on full screen icon under Timeline

Actual Result
UI breaks when click on full screen icon under Timeline

Expected Result
Page should not break when click on full screen icon under Timeline

Screen-cast

timeline.mp4
@ghost ghost added bug Fixes for quality problems that affect the customer experience triage_needed Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.4.0 labels Jul 25, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@ghost ghost assigned ghost and MadameSheema and unassigned ghost Jul 25, 2022
@MadameSheema MadameSheema added Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team labels Jul 25, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@kqualters-elastic
Copy link
Contributor

This is a strange bug, seems like the issue is being caused by https://github.com/elastic/kibana/blob/main/x-pack/plugins/observability/public/pages/alerts/containers/alerts_page/styles.scss which has existed for a year no problem and was previously only active in styles when within the observability app
image
Can be seen here on siem dev without that rule being applied at all, even though the selector of .kbnBody.euiBody--headerIsFixed.euiDataGrid__restrictBody .euiOverlayMask--belowHeader .euiFlyout would still apply. Not sure why/how this started "leaking" across plugins when it hasn't for a year, but seems like that's what's going on.

@logeekal
Copy link
Contributor

Hello @kqualters-elastic , @MadameSheema I checked out latest main but I do not see the issue? Could you please point out if I am missing something

Screen.Recording.2022-07-28.at.16.21.16.mov

?

@michaelolo24 michaelolo24 added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. and removed triage_needed labels Jul 28, 2022
@kqualters-elastic
Copy link
Contributor

@logeekal the underlying content is hidden now, which is better (and suggests that the bug was created outside of security solution code), but it still shouldn't have that gap of 72px of gray space at the top.
image
see https://kibana.siem.estc.dev/ for an example

@logeekal
Copy link
Contributor

Hello @kqualters-elastic , It looks like (not 100% sure) the problem has been there but it was hidden and it resurfaced with this line of code 4 months ago. It adds euiDataGrid__restrictBody class to the body element which applies the above css as you have mentioned.

Before that, above mentioned css was not being applied, instead, below style( see screenshot) is being applied. Because of this, full screen timeline aligns perfectly to the header, which doesn't seem like a bug.( See the video for more details )

image

Screen.Recording.2022-07-29.at.12.56.22.mov

Error exists in SIEM as well when we take below steps:

  1. Navigate to Observability -> Alerts
  2. This loads the styles of Observability plugin
  3. Now navigate to Security -> Alerts and note the error.

@MadameSheema
Copy link
Member

@logeekal can you please clarify in which release(s) the fix is going to be present? The issue is labeled to target 8.4.0 but on the PR the version label is 8.5.0. Thanks

@MadameSheema
Copy link
Member

Pending to be validated.

@MadameSheema MadameSheema reopened this Aug 10, 2022
@logeekal
Copy link
Contributor

In PR, I have mentioned labels v8.5.0 and backport:prev-minor. In that case backport:prev-minor should take care of v8.4.0, right?

Sorry If that caused confusion.

@MadameSheema
Copy link
Member

Np!! My bad!! Missed the label, I'm used to the old way 🫣

Sorry @logeekal and thanks for the clarification 😊

@MadameSheema
Copy link
Member

Pending to be validated on BC4.

@logeekal
Copy link
Contributor

no problem.. 👍

@ghost
Copy link
Author

ghost commented Aug 12, 2022

Hi Team,

We have validated this issue on LATEST 8.4.0 SNAPSHOT build and observed that issue is Fixed.

Please find the below Testing Details:

Build info

Version:8.4.0 SNAPSHOT
Commit:976a669f92e0e516a87fefabf0642105e58065b4

Screen-cast

timeline.mp4

cc: @MadameSheema

Thanks!!

@MadameSheema
Copy link
Member

Fixed in BC4!

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 impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team v8.4.0
Projects
None yet
5 participants