-
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
Sustainable Kibana Architecture: Remove dependencies between plugins that are related by _App Links_ #199492
Sustainable Kibana Architecture: Remove dependencies between plugins that are related by _App Links_ #199492
Changes from all commits
e562900
cae7a9e
2f1ec8f
535a789
f8ac56d
6e1cd1f
eba5431
11102ed
a3583f5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,11 @@ | |
"type": "plugin", | ||
"id": "@kbn/enterprise-search-plugin", | ||
"owner": "@elastic/search-kibana", | ||
// Could be categorised as Search in the future, but it currently needs to run in Observability too | ||
"group": "platform", | ||
"visibility": "shared", | ||
// TODO this is currently used from Observability too, must be refactored before solution-specific builds | ||
// see x-pack/plugins/observability_solution/observability_ai_assistant_management/public/routes/components/search_connector_tab.tsx | ||
// cc sphilipse | ||
"group": "search", | ||
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. Here I believe I went too far, I made This will make However, if we rollback the changes, we have a domino effect that forces us to expose @sphilipse WDYT? 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. Yeah, I think we need to make this platform/shared for now. Exposing playground as platform/shared is fine for now IMO. We have open tickets to separate this stuff and implement better RBAC which will eventually fix all of these problems. (we need to do that for our ent-search deprecation anyway) 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.
Sorry, what does this mean? 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. The I rollbacked the change at the root of this discussion in 0aa726b 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. @dgieselaar could you PTAL? TIA 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. As discussed, we can keep the conflicting |
||
"visibility": "private", | ||
"description": "Adds dashboards for discovering and managing Enterprise Search products.", | ||
"plugin": { | ||
"id": "enterpriseSearch", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ export const SELECTED_CONNECTOR_LOCAL_STORAGE_KEY = | |
|
||
export function SearchConnectorTab() { | ||
const { application } = useKibana().services; | ||
const url = application.getUrlForApp('enterprise_search', { path: '/content/connectors' }); | ||
const url = application.getUrlForApp('enterpriseSearch', { path: '/content/connectors' }); | ||
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. Am I wrong or this URL was broken? 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. ++ I think you've got the right appId https://github.com/elastic/kibana/blob/main/packages/deeplinks/search/constants.ts#L10 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. This was briefly broken last week in the O11y Solution nav because enterprise search was disabled, but we fixed that and the link worked when I checked. But you're right that the appId should be 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. I confirm this is fixed externally to this PR too (noticed when rebasing). |
||
|
||
return ( | ||
<> | ||
|
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.
nit: it might be useful to mention in the tsdocs of
navigateToApp
something like: