🌊 Streams: Hide double entry in global search (#217021)

Before:
<img width="257" alt="Screenshot 2025-04-03 at 15 17 00"
src="https://github.com/user-attachments/assets/130bc4d2-e073-4e35-92bd-252e9ab21eba"
/>



After:
<img width="303" alt="Screenshot 2025-04-03 at 15 16 37"
src="https://github.com/user-attachments/assets/b540f2a0-b7ed-46ab-951d-9148dcb1b019"
/>
This commit is contained in:
Joe Reuter 2025-04-04 09:46:51 +02:00 committed by GitHub
parent 6927948948
commit 2ac707ba12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 16 deletions

View file

@ -45331,7 +45331,6 @@
"xpack.streams.streamDetailView.schemaEditorTab": "Éditeur de schémas",
"xpack.streams.streamDetailView.unmanagedStreamOverview": "Ce flux n'est pas géré. Suivez les liens vers la gestion de la suite pour modifier les objets Elasticsearch liés.",
"xpack.streams.streamDetailView.welcomeImage": "Image de bienvenue pour l'application de flux",
"xpack.streams.streamsAppDeepLinkTitle": "Flux",
"xpack.streams.streamsAppLinkTitle": "Flux",
"xpack.streams.streamsTable.collapseAll": "Tout réduire",
"xpack.streams.streamsTable.expandAll": "Tout développer",

View file

@ -45296,7 +45296,6 @@
"xpack.streams.streamDetailView.schemaEditorTab": "スキーマエディター",
"xpack.streams.streamDetailView.unmanagedStreamOverview": "このストリームは管理されていません。スタック管理へのリンクに従い、関連するElasticsearchオブジェクトを変更します。",
"xpack.streams.streamDetailView.welcomeImage": "ストリームアプリのウェルカム画像",
"xpack.streams.streamsAppDeepLinkTitle": "ストリーム",
"xpack.streams.streamsAppLinkTitle": "ストリーム",
"xpack.streams.streamsTable.collapseAll": "すべて縮小",
"xpack.streams.streamsTable.expandAll": "すべて拡張",

View file

@ -45368,7 +45368,6 @@
"xpack.streams.streamDetailView.schemaEditorTab": "架构编辑器",
"xpack.streams.streamDetailView.unmanagedStreamOverview": "此流未托管。访问 Stack Management 链接以更改相关 Elasticsearch 对象。",
"xpack.streams.streamDetailView.welcomeImage": "流应用的欢迎图像",
"xpack.streams.streamsAppDeepLinkTitle": "流计数",
"xpack.streams.streamsAppLinkTitle": "流计数",
"xpack.streams.streamsTable.collapseAll": "折叠全部",
"xpack.streams.streamsTable.expandAll": "展开全部",

View file

@ -130,24 +130,11 @@ export class ObservabilityStreamsWrapperPlugin
if (status !== 'enabled') {
return {
visibleIn: [],
deepLinks: [],
};
}
return {
visibleIn: ['sideNav', 'globalSearch'],
deepLinks:
status === 'enabled'
? [
{
id: 'streams',
title: i18n.translate('xpack.streams.streamsAppDeepLinkTitle', {
defaultMessage: 'Streams',
}),
path: '/',
},
]
: [],
};
};
})