elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.35k stars 7.98k forks source link

[Security Solution]When user have unsaved timeline then the alerts flyout doesn't close on navigation to other pages. #182922

Open sukhwindersingh-qasource opened 1 week ago

sukhwindersingh-qasource commented 1 week ago

Describe the bug:

Kibana/Elasticsearch Stack version

VERSION: 8.14.0
BUILD: 73762
COMMIT: 2a492e1625f24336f3259b2b8df62b2b18127e81

Browser and Browser OS Version: Firefox for windows OS Version: 122.0 (64-bit)

Chrome for windows OS Version: 1Version 123.0.6312.105 (64-bit)

Elastic Endpoint Version:

Original install method:

Functional Area:

Initial Setup:

Precondition

Steps to reproduce

Current Result

Expected Result

Screen-cast

https://github.com/elastic/kibana/assets/108654988/37e151a7-06d4-42d9-8a76-b09d1084fe0d

elasticmachine commented 1 week ago

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

sukhwindersingh-qasource commented 1 week ago

@karanbirsingh-qasource Kindly review this

Thanks!

PhilippeOberti commented 1 week ago

@sukhwindersingh-qasource hmmm that's a very interesting bug... It seems very unlikely that the flyout staying open would be related to a Timeline existing and being unsaved, as the 2 don't really have much in common in the code...

Actually trying this locally I cannot reproduce the issue:

https://github.com/elastic/kibana/assets/17276605/25084533-a741-4ece-ad2e-78f76f9b5492

Let's see what @karanbirsingh-qasource finds when he tests this!

karanbirsingh-qasource commented 1 week ago

Hi @PhilippeOberti

Yes I am able to reproduce the issue, just checked in your shared video on moving to other page you didn't received the modal for timeline Unsaved Changed .

Build Details:

Version : 8.14 BC3
Commit: 2a492e1625f24336f3259b2b8df62b2b18127e81
Build: 73762

so can you perform this steps once again

image

hope you this steps will help reproducing the issue.

PhilippeOberti commented 1 week ago

Ok got it! This is a really weird one. Thanks for providing the details to reproduce locally! I will be taking a look!

elasticmachine commented 1 week ago

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

elasticmachine commented 1 week ago

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