[8.x] 🌊 Streams: Hide double entry in global search (#217021) (#217135)

# Backport

This will backport the following commits from `main` to `8.x`:
- [🌊 Streams: Hide double entry in global search
(#217021)](https://github.com/elastic/kibana/pull/217021)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Joe
Reuter","email":"johannes.reuter@elastic.co"},"sourceCommit":{"committedDate":"2025-04-04T07:46:51Z","message":"🌊
Streams: Hide double entry in global search (#217021)\n\nBefore:\n<img
width=\"257\" alt=\"Screenshot 2025-04-03 at 15 17
00\"\nsrc=\"https://github.com/user-attachments/assets/130bc4d2-e073-4e35-92bd-252e9ab21eba\"\n/>\n\n\n\nAfter:\n<img
width=\"303\" alt=\"Screenshot 2025-04-03 at 15 16
37\"\nsrc=\"https://github.com/user-attachments/assets/b540f2a0-b7ed-46ab-951d-9148dcb1b019\"\n/>","sha":"2ac707ba12f0ccb54b98bd5b759899ac6bbb8f28","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-logs","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"🌊
Streams: Hide double entry in global
search","number":217021,"url":"https://github.com/elastic/kibana/pull/217021","mergeCommit":{"message":"🌊
Streams: Hide double entry in global search (#217021)\n\nBefore:\n<img
width=\"257\" alt=\"Screenshot 2025-04-03 at 15 17
00\"\nsrc=\"https://github.com/user-attachments/assets/130bc4d2-e073-4e35-92bd-252e9ab21eba\"\n/>\n\n\n\nAfter:\n<img
width=\"303\" alt=\"Screenshot 2025-04-03 at 15 16
37\"\nsrc=\"https://github.com/user-attachments/assets/b540f2a0-b7ed-46ab-951d-9148dcb1b019\"\n/>","sha":"2ac707ba12f0ccb54b98bd5b759899ac6bbb8f28"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217021","number":217021,"mergeCommit":{"message":"🌊
Streams: Hide double entry in global search (#217021)\n\nBefore:\n<img
width=\"257\" alt=\"Screenshot 2025-04-03 at 15 17
00\"\nsrc=\"https://github.com/user-attachments/assets/130bc4d2-e073-4e35-92bd-252e9ab21eba\"\n/>\n\n\n\nAfter:\n<img
width=\"303\" alt=\"Screenshot 2025-04-03 at 15 16
37\"\nsrc=\"https://github.com/user-attachments/assets/b540f2a0-b7ed-46ab-951d-9148dcb1b019\"\n/>","sha":"2ac707ba12f0ccb54b98bd5b759899ac6bbb8f28"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
This commit is contained in:
Kibana Machine 2025-04-04 11:37:05 +02:00 committed by GitHub
parent 9bfee01be9
commit 289ca83711
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 16 deletions

View file

@ -47833,7 +47833,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

@ -47796,7 +47796,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

@ -47875,7 +47875,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: '/',
},
]
: [],
};
};
})