-
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
[Fleet] Fix missing scrolling bar in categories column #153181
Conversation
Pinging @elastic/fleet (Team:Fleet) |
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.
🚀
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: cc @criamico |
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)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
#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]>
Closes #149378
Summary
Fixing missing scrolling bar in Integrations
categories
left column. I replaced thesticky
css property with the classkbnStickyMenu
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