[Solution Side Nav] Fix panel styles#219478
Merged
tsullivan merged 21 commits intoelastic:mainfrom May 9, 2025
Merged
Conversation
34ebd43 to
6f5be50
Compare
tsullivan
commented
May 2, 2025
| * Note: this property is currently only used for (1) "group" nodes and (2) in the navigation | ||
| * panel opening on the right of the side nav. | ||
| */ | ||
| appendHorizontalRule?: boolean; |
Member
Author
There was a problem hiding this comment.
Horizontal rules will be automatically added in the panel in-between each group
Contributor
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
6f5be50 to
d43557e
Compare
3e596e2 to
56c6918
Compare
ek-so
approved these changes
May 7, 2025
Contributor
ek-so
left a comment
There was a problem hiding this comment.
As discussed — alignment for the text inside the 2nd panel + blue color for selected items. @tsullivan and thank you again for all those changes :)
Contributor
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
maryam-saeidi
approved these changes
May 8, 2025
Member
maryam-saeidi
left a comment
There was a problem hiding this comment.
defaultMessage changes LGTM
Contributor
⏳ Build in-progress
Failed CI StepsHistory
|
akowalska622
pushed a commit
to akowalska622/kibana
that referenced
this pull request
May 29, 2025
## Summary Epic: elastic/kibana-team#1439 Depends on elastic#218513 ### List of changes 1. Match header text style with the main panel 2. Match spacing between items with the main panel 3. Show horizontal line between groups in the panel - This restores a custom error that was in the code prior to elastic#218156, but adds better handling and tests to the error 5. Fix position of accordion group arrows in the secondary panel (viewable only from Storybook) 6. isOpen is not really needed and can be cleaned up - (see https://github.com/elastic/kibana/pull/217708/files#diff-9e95eb3e4be14fb61caca86b48be4f03ca63393eeeadcd0b36f7371958a7e5e1L55) 7. (not panel-related) remove the on-hover and on-focus underline from nav items ### Checklist from Kate: - [x] text font-weight of solution title in main panel - [x] text font-weight of secondary panel link content - [x] zero space between items - [x] use ~~12px~~ nice-looking margin from the link to the edge of the panel - [x] ensure the divider reaches to the edge of the panel - [x] increase space from panel header to the items - [x] ensure the width of both panels is 248px - [x] secondary panel header should vertically align with the below nav items - [x] (not panel-related) font color and icon color of selected items should be "primary" blue ### Screenshots **Security Solution Serverless** https://github.com/user-attachments/assets/83ca1c25-f44a-4270-96a8-e28e7b6d7041 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
qn895
pushed a commit
to qn895/kibana
that referenced
this pull request
Jun 3, 2025
## Summary Epic: elastic/kibana-team#1439 Depends on elastic#218513 ### List of changes 1. Match header text style with the main panel 2. Match spacing between items with the main panel 3. Show horizontal line between groups in the panel - This restores a custom error that was in the code prior to elastic#218156, but adds better handling and tests to the error 5. Fix position of accordion group arrows in the secondary panel (viewable only from Storybook) 6. isOpen is not really needed and can be cleaned up - (see https://github.com/elastic/kibana/pull/217708/files#diff-9e95eb3e4be14fb61caca86b48be4f03ca63393eeeadcd0b36f7371958a7e5e1L55) 7. (not panel-related) remove the on-hover and on-focus underline from nav items ### Checklist from Kate: - [x] text font-weight of solution title in main panel - [x] text font-weight of secondary panel link content - [x] zero space between items - [x] use ~~12px~~ nice-looking margin from the link to the edge of the panel - [x] ensure the divider reaches to the edge of the panel - [x] increase space from panel header to the items - [x] ensure the width of both panels is 248px - [x] secondary panel header should vertically align with the below nav items - [x] (not panel-related) font color and icon color of selected items should be "primary" blue ### Screenshots **Security Solution Serverless** https://github.com/user-attachments/assets/83ca1c25-f44a-4270-96a8-e28e7b6d7041 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Member
Author
|
This PR exists in 8.19 as well. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Epic: https://github.com/elastic/kibana-team/issues/1439
Depends on #218513
List of changes
Checklist from Kate:
12pxnice-looking margin from the link to the edge of the panelScreenshots
Security Solution Serverless
secondary-panel-nav-fixes.mp4
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.