-
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
[Security Solution][Timeline] extract and cleanup timeline flyout component #173880
[Security Solution][Timeline] extract and cleanup timeline flyout component #173880
Conversation
844a591
to
2f255f2
Compare
2f255f2
to
2e72277
Compare
@elasticmachine merge upstream |
@@ -90,7 +90,7 @@ export const SecuritySolutionTemplateWrapper: React.FC<Omit<KibanaPageTemplatePr | |||
{isTimelineBottomBarVisible && ( | |||
<KibanaPageTemplate.BottomBar data-test-subj="timeline-bottom-bar-container"> | |||
<EuiThemeProvider colorMode={globalColorMode}> | |||
<SecuritySolutionBottomBar /> | |||
<Timeline /> |
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.
Such a simple change, yet so beautiful ❤️ 😄
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.
Thanks for making these changes :) Looks great!
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
## NotesThis is a follow up PR to this one which should be merged first. The changes can be reviewed individually though, by ignoring the first commit and focusing only on the second.This PR is part of a long-running effort to clean up the timeline code. I originally had opened #172408 but the file count kept growing and so did the complexity for the reviewers. Of that original PR I will create probably 5-6 smaller ones.Summary
This very PR focuses on extracting the TimelineFlyout component:
flyout
folder as timeline is no longer a flyout, but a modalwrapper
andTimelineWrapper
respectively to better represent what the component actually doesThe PR also make the following small modifications
SecuritySolutionBottomBar
toTimeline
has the component actually contains the bottom and the timeline modalAbsolutely no visual or behavior changes introduced here!
Checklist
The following PR will focus on the
FlyoutBottomBar
component.