-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Solution nav] Use flyout for Stack Management in Search and Observability solutions #208632
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
Merged
tsullivan
merged 12 commits into
elastic:main
from
tsullivan:solution-nav/consistent-stackmanagement-flyout
Feb 11, 2025
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
9fde716
[Solution Side Nav] No landing page for Stack Management, use flyout
tsullivan f2f9e2a
Stack Management flyout for Serverless Security
tsullivan 1e89e0f
Stack Management flyout for Serverless Observability
tsullivan 48ff080
Stack Management flyout for Serverless Search
tsullivan fb2458e
Restore management cards
tsullivan 2feceaa
Fix translations
tsullivan 5bf0a2a
Additional stack management links
tsullivan a780cdd
fix functional tests
tsullivan 8bf43da
Merge branch 'main' into solution-nav/consistent-stackmanagement-flyout
tsullivan 528b9b2
Merge branch 'main' into solution-nav/consistent-stackmanagement-flyout
tsullivan 949d5d1
Undo changes for Security Solution
tsullivan 94a46c5
Merge branch 'main' into solution-nav/consistent-stackmanagement-flyout
tsullivan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -80,8 +80,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { | |
|
|
||
| // navigate to a different section | ||
| await solutionNavigation.sidenav.openSection('project_settings_project_nav'); | ||
| await solutionNavigation.sidenav.clickLink({ deepLinkId: 'management' }); | ||
| await solutionNavigation.sidenav.expectLinkActive({ deepLinkId: 'management' }); | ||
| await solutionNavigation.sidenav.clickLink({ navId: 'stack_management' }); | ||
| await solutionNavigation.sidenav.expectLinkActive({ navId: 'stack_management' }); | ||
| await solutionNavigation.sidenav.clickPanelLink('management:tags'); | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Had to add this, because the breadcrumbs will not say |
||
| await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Stack Management' }); | ||
|
|
||
| // navigate back to the home page using header logo | ||
|
|
||
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
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
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
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
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.
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.
@elastic/kibana-management it looks like this structure has a more official source of truth within the Management plugin, but it is not accessible to outside plugins [1]. Is there a chance we could update the public start contract of the Management plugin so I wouldn't need this declaration? I am worried this information could be missing a critical link, or become out of date.
[1] Per: https://github.com/elastic/kibana/blob/2fd8994/src/platform/plugins/shared/management/public/management_sections_service.ts#L51
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.
@tsullivan I'm sure this can be improved but I think the code is a good representation of the group dynamics that produced it - stateful kibana has a way of expressing management app listing and solutions want to control their own listing completely independent of whatever stateful is doing. We could certainly expose some management content but its unclear to me how this would be helpful.
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.
Thanks @mattkime. I have recently taken over this code and I wanted to make sure that there isn't an obvious alternative to this implementation that would be better. It sounds like keeping solutions in control of their own listing is what we should keep doing.
It could be pointed out that independent control isn't just an issue for serverless. The Solution Nav is used in stateful deployments when the Space uses a Solution view, and the listing of management apps is completely controlled by the solution there as well. That goes back prior to this PR, though.