-
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
[ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management #201147
[ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management #201147
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
…eorgianaonoleata1904/kibana into maintenance-windows-breadcrumb
@@ -68,6 +69,7 @@ export interface AlertingPluginStart { | |||
spaces: SpacesPluginStart; | |||
unifiedSearch: UnifiedSearchPublicPluginStart; | |||
data: DataPublicPluginStart; | |||
serverless?: ServerlessPluginStart; |
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.
Is changing this type enough? How does this guarantee that useKibana
has it whenever the hook is called?
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.
I think it correctly reflects (with the ?
) the fact that the serverless
plugin is not required but optional in alerting
's kibana.jsonc
config file
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.
OBS changes LGTM
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.
Tested in both ESS and Serverless and is working as expected.
x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts
Show resolved
Hide resolved
x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts
Outdated
Show resolved
Hide resolved
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.
x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts logs good, just seems @cnasikas's suggestion wasn't added https://github.com/elastic/kibana/pull/201147/files?file-filters%5B%5D=.jsonc&file-filters%5B%5D=.ts&owned-by%5B%5D=Dosant&show-viewed-files=true#r1875878554
Added it! Thanks :) |
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
Starting backport for target branches: 8.15, 8.16, 8.17, 8.x |
…rumb for management (elastic#201147) Closes elastic#189318 ## Summary - the issue was resolved by using useKibana.services.serverless.setBreadcrumbs instead of chrome.setBreadcrumbs, this ensures that breadcrumb functionality is correctly handled within serverless observability. https://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb (cherry picked from commit 5a67a03)
…rumb for management (elastic#201147) Closes elastic#189318 ## Summary - the issue was resolved by using useKibana.services.serverless.setBreadcrumbs instead of chrome.setBreadcrumbs, this ensures that breadcrumb functionality is correctly handled within serverless observability. https://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb (cherry picked from commit 5a67a03)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Starting backport for target branches: 8.x |
…rumb for management (elastic#201147) Closes elastic#189318 ## Summary - the issue was resolved by using useKibana.services.serverless.setBreadcrumbs instead of chrome.setBreadcrumbs, this ensures that breadcrumb functionality is correctly handled within serverless observability. https://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb (cherry picked from commit 5a67a03)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…breadcrumb for management (#201147) (#203636) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management (#201147)](#201147) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Georgiana-Andreea Onoleață","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T16:13:43Z","message":"[ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management (#201147)\n\nCloses https://github.com/elastic/kibana/issues/189318\r\n\r\n## Summary\r\n\r\n- the issue was resolved by using\r\nuseKibana.services.serverless.setBreadcrumbs instead of\r\nchrome.setBreadcrumbs, this ensures that breadcrumb functionality is\r\ncorrectly handled within serverless observability.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb","sha":"5a67a033a3f29ea72028dc4e2f2b3c43b6d36551","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-major","v8.18.0"],"title":"[ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management","number":201147,"url":"https://github.com/elastic/kibana/pull/201147","mergeCommit":{"message":"[ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management (#201147)\n\nCloses https://github.com/elastic/kibana/issues/189318\r\n\r\n## Summary\r\n\r\n- the issue was resolved by using\r\nuseKibana.services.serverless.setBreadcrumbs instead of\r\nchrome.setBreadcrumbs, this ensures that breadcrumb functionality is\r\ncorrectly handled within serverless observability.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb","sha":"5a67a033a3f29ea72028dc4e2f2b3c43b6d36551"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201147","number":201147,"mergeCommit":{"message":"[ResponseOps][Serverless]Maintenance window page displays dead breadcrumb for management (#201147)\n\nCloses https://github.com/elastic/kibana/issues/189318\r\n\r\n## Summary\r\n\r\n- the issue was resolved by using\r\nuseKibana.services.serverless.setBreadcrumbs instead of\r\nchrome.setBreadcrumbs, this ensures that breadcrumb functionality is\r\ncorrectly handled within serverless observability.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb","sha":"5a67a033a3f29ea72028dc4e2f2b3c43b6d36551"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgiana-Andreea Onoleață <[email protected]>
…rumb for management (elastic#201147) Closes elastic#189318 ## Summary - the issue was resolved by using useKibana.services.serverless.setBreadcrumbs instead of chrome.setBreadcrumbs, this ensures that breadcrumb functionality is correctly handled within serverless observability. https://github.com/user-attachments/assets/d805b54f-74b4-424f-8304-dced09718ebb
Closes #189318
Summary
Screen.Recording.2024-11-21.at.14.20.39.mov