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

[Bug][Investigations] - Fix eql tab scrolling #181763

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

michaelolo24
Copy link
Contributor

@michaelolo24 michaelolo24 commented Apr 25, 2024

Summary

This issue only affects 8.14.

Some wrappers were added unnecessarily to the correlations tab in Timeline preventing users from scrolling in this PR: #179832

This PR fixes it by placing the structure more in line with how it was prior here: https://github.com/elastic/kibana/pull/179832/files#diff-a11ba69be2253bc1c3183eb6589e3f30b9ec6e77353364208e906526712562fe

The fix:

Screen.Recording.2024-04-25.at.2.34.33.PM.mov

@michaelolo24 michaelolo24 added bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team v8.14.0 v8.15.0 labels Apr 25, 2024
@michaelolo24 michaelolo24 added this to the 8.14 milestone Apr 25, 2024
@michaelolo24 michaelolo24 requested a review from a team as a code owner April 25, 2024 18:42
@elasticmachine
Copy link
Contributor

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

</EuiFlexItem>
</EuiFlexGroup>
</TabHeaderContainer>
<EuiFlexGroup
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only change was moving the TabHeaderContainer to wrap only the EqlQueryBar

@@ -213,62 +213,58 @@ export const EqlTabContentComponent: React.FC<Props> = ({
/>
<FullWidthFlexGroup>
<ScrollableFlexItem grow={2}>
<EuiFlexGroup gutterSize="s" direction="column">
Copy link
Contributor Author

@michaelolo24 michaelolo24 Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed unnecessary EuiFlexGroup and EuiFlexItem

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #79 / Actions and Triggers app Stack alerts page Loads the page Applies the correct quick filter

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 17.3MB 17.3MB -105.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Desk tested and code LGTM! Sorry I missed that when I reviewed your previous PR! :(

@michaelolo24 michaelolo24 merged commit 11eb39b into elastic:main Apr 26, 2024
36 checks passed
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.14 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 181763

Questions ?

Please refer to the Backport tool documentation

@michaelolo24
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.14

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

michaelolo24 added a commit to michaelolo24/kibana that referenced this pull request Apr 26, 2024
## Summary

This issue only affects 8.14.

Some wrappers were added unnecessarily to the correlations tab in
Timeline preventing users from scrolling in this PR:
elastic#179832

This PR fixes it by placing the structure more in line with how it was
prior here:
https://github.com/elastic/kibana/pull/179832/files#diff-a11ba69be2253bc1c3183eb6589e3f30b9ec6e77353364208e906526712562fe

The fix:

https://github.com/elastic/kibana/assets/17211684/fc288ab8-3cbf-4f4d-8303-4fb5e970dfcd
(cherry picked from commit 11eb39b)

# Conflicts:
#	x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/eql/header/index.tsx
#	x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/eql/index.tsx
michaelolo24 added a commit that referenced this pull request Apr 26, 2024
# Backport

This will backport the following commits from `main` to `8.14`:
- [[Bug][Investigations] - Fix eql tab scrolling
(#181763)](#181763)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Michael
Olorunnisola","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-04-26T14:55:43Z","message":"[Bug][Investigations]
- Fix eql tab scrolling (#181763)\n\n## Summary\r\n\r\nThis issue only
affects 8.14.\r\n\r\nSome wrappers were added unnecessarily to the
correlations tab in\r\nTimeline preventing users from scrolling in this
PR:\r\nhttps://github.com//pull/179832\r\n\r\nThis PR
fixes it by placing the structure more in line with how it was\r\nprior
here:\r\nhttps://github.com//pull/179832/files#diff-a11ba69be2253bc1c3183eb6589e3f30b9ec6e77353364208e906526712562fe\r\n\r\nThe
fix:\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/fc288ab8-3cbf-4f4d-8303-4fb5e970dfcd","sha":"11eb39b4b6aa9eada1b7c3e63dc1490762d9d8ea","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat
Hunting:Investigations","v8.14.0","v8.15.0"],"number":181763,"url":"https://github.com/elastic/kibana/pull/181763","mergeCommit":{"message":"[Bug][Investigations]
- Fix eql tab scrolling (#181763)\n\n## Summary\r\n\r\nThis issue only
affects 8.14.\r\n\r\nSome wrappers were added unnecessarily to the
correlations tab in\r\nTimeline preventing users from scrolling in this
PR:\r\nhttps://github.com//pull/179832\r\n\r\nThis PR
fixes it by placing the structure more in line with how it was\r\nprior
here:\r\nhttps://github.com//pull/179832/files#diff-a11ba69be2253bc1c3183eb6589e3f30b9ec6e77353364208e906526712562fe\r\n\r\nThe
fix:\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/fc288ab8-3cbf-4f4d-8303-4fb5e970dfcd","sha":"11eb39b4b6aa9eada1b7c3e63dc1490762d9d8ea"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/181763","number":181763,"mergeCommit":{"message":"[Bug][Investigations]
- Fix eql tab scrolling (#181763)\n\n## Summary\r\n\r\nThis issue only
affects 8.14.\r\n\r\nSome wrappers were added unnecessarily to the
correlations tab in\r\nTimeline preventing users from scrolling in this
PR:\r\nhttps://github.com//pull/179832\r\n\r\nThis PR
fixes it by placing the structure more in line with how it was\r\nprior
here:\r\nhttps://github.com//pull/179832/files#diff-a11ba69be2253bc1c3183eb6589e3f30b9ec6e77353364208e906526712562fe\r\n\r\nThe
fix:\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/fc288ab8-3cbf-4f4d-8303-4fb5e970dfcd","sha":"11eb39b4b6aa9eada1b7c3e63dc1490762d9d8ea"}}]}]
BACKPORT-->
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 release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team v8.14.0 v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants