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

[Fleet] Fix missing scrolling bar in categories column #153181

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

criamico
Copy link
Contributor

@criamico criamico commented Mar 13, 2023

Closes #149378

Summary

Fixing missing scrolling bar in Integrations categories left column. I replaced the sticky css property with the class kbnStickyMenu defined here. This class is applied above a certain breakpoint.

Large viewport

The categories column is sticky:

Screen.Recording.2023-03-13.at.15.28.36.mov

Smaller viewport

The categories column now has a scrolling bar:

Screen.Recording.2023-03-13.at.15.27.38.mov

@criamico criamico self-assigned this Mar 13, 2023
@criamico criamico added v8.8.0 backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes labels Mar 13, 2023
@criamico criamico marked this pull request as ready for review March 13, 2023 14:39
@criamico criamico requested a review from a team as a code owner March 13, 2023 14:39
@criamico criamico added the Team:Fleet Team label for Observability Data Collection Fleet team label Mar 13, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

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

🚀

@criamico criamico enabled auto-merge (squash) March 13, 2023 15:25
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #6 / endpoint Response Actions Responder from the Endpoint list and details should show Responder from the endpoint list

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
fleet 937.2KB 937.2KB +9.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 433 436 +3

Total ESLint disabled count

id before after diff
securitySolution 513 516 +3

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

cc @criamico

@criamico criamico merged commit bb3f917 into elastic:main Mar 13, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 13, 2023
Closes elastic#149378

## Summary
Fixing missing scrolling bar in Integrations `categories` left column. I
replaced the `sticky` css property with the class `kbnStickyMenu`
defined
[here](https://github.com/elastic/kibana/blob/3c7bf5840539fad8e45e6d490bb7a82b955ba9f5/src/core/public/styles/rendering/_base.scss#L47-L51).
This class is applied above a certain breakpoint.

### Large viewport
The categories column is sticky:

https://user-images.githubusercontent.com/16084106/224733525-362d6b0c-321a-476d-ae5f-caad45ef3fcc.mov

### Smaller viewport
The categories column now has a scrolling bar:

https://user-images.githubusercontent.com/16084106/224733690-b310fb78-1ee3-45a7-bc45-dd29ffdc280b.mov
(cherry picked from commit bb3f917)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.7

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Mar 13, 2023
#153183)

# Backport

This will backport the following commits from `main` to `8.7`:
- [[Fleet] Fix missing scrolling bar in categories column
(#153181)](#153181)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-03-13T16:00:33Z","message":"[Fleet]
Fix missing scrolling bar in categories column (#153181)\n\nCloses
https://github.com/elastic/kibana/issues/149378\r\n\r\n##
Summary\r\nFixing missing scrolling bar in Integrations `categories`
left column. I\r\nreplaced the `sticky` css property with the class
`kbnStickyMenu`\r\ndefined\r\n[here](https://github.com/elastic/kibana/blob/3c7bf5840539fad8e45e6d490bb7a82b955ba9f5/src/core/public/styles/rendering/_base.scss#L47-L51).\r\nThis
class is applied above a certain breakpoint.\r\n\r\n### Large
viewport\r\nThe categories column is
sticky:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733525-362d6b0c-321a-476d-ae5f-caad45ef3fcc.mov\r\n\r\n###
Smaller viewport\r\nThe categories column now has a scrolling
bar:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733690-b310fb78-1ee3-45a7-bc45-dd29ffdc280b.mov","sha":"bb3f91715e2780238b02e69e80cca83534ee6eff","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.8.0"],"number":153181,"url":"https://github.com/elastic/kibana/pull/153181","mergeCommit":{"message":"[Fleet]
Fix missing scrolling bar in categories column (#153181)\n\nCloses
https://github.com/elastic/kibana/issues/149378\r\n\r\n##
Summary\r\nFixing missing scrolling bar in Integrations `categories`
left column. I\r\nreplaced the `sticky` css property with the class
`kbnStickyMenu`\r\ndefined\r\n[here](https://github.com/elastic/kibana/blob/3c7bf5840539fad8e45e6d490bb7a82b955ba9f5/src/core/public/styles/rendering/_base.scss#L47-L51).\r\nThis
class is applied above a certain breakpoint.\r\n\r\n### Large
viewport\r\nThe categories column is
sticky:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733525-362d6b0c-321a-476d-ae5f-caad45ef3fcc.mov\r\n\r\n###
Smaller viewport\r\nThe categories column now has a scrolling
bar:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733690-b310fb78-1ee3-45a7-bc45-dd29ffdc280b.mov","sha":"bb3f91715e2780238b02e69e80cca83534ee6eff"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/153181","number":153181,"mergeCommit":{"message":"[Fleet]
Fix missing scrolling bar in categories column (#153181)\n\nCloses
https://github.com/elastic/kibana/issues/149378\r\n\r\n##
Summary\r\nFixing missing scrolling bar in Integrations `categories`
left column. I\r\nreplaced the `sticky` css property with the class
`kbnStickyMenu`\r\ndefined\r\n[here](https://github.com/elastic/kibana/blob/3c7bf5840539fad8e45e6d490bb7a82b955ba9f5/src/core/public/styles/rendering/_base.scss#L47-L51).\r\nThis
class is applied above a certain breakpoint.\r\n\r\n### Large
viewport\r\nThe categories column is
sticky:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733525-362d6b0c-321a-476d-ae5f-caad45ef3fcc.mov\r\n\r\n###
Smaller viewport\r\nThe categories column now has a scrolling
bar:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733690-b310fb78-1ee3-45a7-bc45-dd29ffdc280b.mov","sha":"bb3f91715e2780238b02e69e80cca83534ee6eff"}}]}]
BACKPORT-->

Co-authored-by: Cristina Amico <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.7.0 v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fleet]: No scroller available for LHS category list under Integrations tab.
5 participants