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] expandable flyout - increase line-height for session preview #166932

Conversation

PhilippeOberti
Copy link
Contributor

@PhilippeOberti PhilippeOberti commented Sep 21, 2023

Summary

This PR fixes a very small UI issue visible in some scenarios where the Security Solution expandable flyout right panel session preview component has its row overlapping.

I could not really reproduce the issue locally to the extend of the screenshot found in the ticket. As you can see in the screenhost below, the rendering seems correct, but on the limit.
Screenshot 2023-09-21 at 2 57 07 PM

The line-height :1.25 could have worked but using 1.5 is safer and will work in more scenarios.
Screenshot 2023-09-21 at 2 58 22 PM

https://github.com/elastic/security-team/issues/7665

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Investigations - Security Solution Cypress Tests #5 / Changing alert status Opening alerts Open one alert when more than one closed alerts are selected Open one alert when more than one closed alerts are selected

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 12.7MB 12.7MB +327.0B

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

@PhilippeOberti PhilippeOberti merged commit 416dabf into elastic:main Sep 22, 2023
9 checks passed
@PhilippeOberti PhilippeOberti deleted the expandable-flyout-session-preview-ui-bug branch September 22, 2023 06:47
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.10 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 166932

Questions ?

Please refer to the Backport tool documentation

PhilippeOberti added a commit to PhilippeOberti/kibana that referenced this pull request Sep 27, 2023
…ion preview (elastic#166932)

(cherry picked from commit 416dabf)

# Conflicts:
#	x-pack/plugins/security_solution/public/flyout/right/components/session_preview.tsx
@PhilippeOberti
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.10

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

Questions ?

Please refer to the Backport tool documentation

PhilippeOberti added a commit that referenced this pull request Sep 27, 2023
…or session preview (#166932) (#167415)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] expandable flyout - increase line-height for
session preview
(#166932)](#166932)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-09-22T06:47:33Z","message":"[Security
Solution] expandable flyout - increase line-height for session preview
(#166932)","sha":"416dabf505e8cf2941ae8dd6187af707cfac68a6","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.11.0","v8.10.3"],"number":166932,"url":"https://github.com/elastic/kibana/pull/166932","mergeCommit":{"message":"[Security
Solution] expandable flyout - increase line-height for session preview
(#166932)","sha":"416dabf505e8cf2941ae8dd6187af707cfac68a6"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/166932","number":166932,"mergeCommit":{"message":"[Security
Solution] expandable flyout - increase line-height for session preview
(#166932)","sha":"416dabf505e8cf2941ae8dd6187af707cfac68a6"}},{"branch":"8.10","label":"v8.10.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants