Skip to content

Commit 6adbc01

Browse files
[OBS] Remove beta badge, change news feed size and add external icon to news feed link (#77164)
* removing beta badge * change news feed size and adding external icon * fixing i18n Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent 4bcb2ba commit 6adbc01

File tree

5 files changed

+6
-14
lines changed

5 files changed

+6
-14
lines changed

x-pack/plugins/observability/public/components/app/header/index.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66

77
import {
8-
EuiBetaBadge,
98
EuiButtonEmpty,
109
EuiFlexGroup,
1110
EuiFlexItem,
@@ -58,12 +57,7 @@ export function Header({
5857
<h1>
5958
{i18n.translate('xpack.observability.home.title', {
6059
defaultMessage: 'Observability',
61-
})}{' '}
62-
<EuiBetaBadge
63-
className="eui-alignMiddle"
64-
label={i18n.translate('xpack.observability.beta', { defaultMessage: 'Beta' })}
65-
tooltipContent="This feature is in beta. Please help us improve it by reporting any bugs or give us feedback."
66-
/>
60+
})}
6761
</h1>
6862
</EuiTitle>
6963
</EuiFlexItem>

x-pack/plugins/observability/public/components/app/news_feed/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ function NewsItem({ item }: { item: INewsItem }) {
7070
</EuiText>
7171
</EuiFlexItem>
7272
<EuiFlexItem grow={false}>
73-
<EuiLink href={item.link_url.en} target="_blank">
74-
<EuiText size="xs">
73+
<EuiText size="xs">
74+
<EuiLink href={item.link_url.en} target="_blank" external>
7575
{i18n.translate('xpack.observability.news.readFullStory', {
7676
defaultMessage: 'Read full story',
7777
})}
78-
</EuiText>
79-
</EuiLink>
78+
</EuiLink>
79+
</EuiText>
8080
</EuiFlexItem>
8181
</EuiFlexGroup>
8282
</EuiFlexItem>

x-pack/plugins/observability/public/pages/overview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export function OverviewPage({ routeParams }: Props) {
200200

201201
{!!newsFeed?.items?.length && (
202202
<EuiFlexItem grow={false}>
203-
<NewsFeed items={newsFeed.items.slice(0, 3)} />
203+
<NewsFeed items={newsFeed.items.slice(0, 5)} />
204204
</EuiFlexItem>
205205
)}
206206
</EuiFlexGroup>

x-pack/plugins/translations/translations/ja-JP.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13716,7 +13716,6 @@
1371613716
"xpack.monitoring.updateLicenseTitle": "ライセンスの更新",
1371713717
"xpack.monitoring.useAvailableLicenseDescription": "既に新しいライセンスがある場合は、今すぐアップロードしてください。",
1371813718
"xpack.monitoring.wedLabel": "水",
13719-
"xpack.observability.beta": "ベータ",
1372013719
"xpack.observability.emptySection.apps.alert.description": "503エラーが累積していますか?サービスは応答していますか?CPUとRAMの使用量が跳ね上がっていますか?このような警告を、事後にではなく、発生と同時に把握しましょう。",
1372113720
"xpack.observability.emptySection.apps.alert.link": "アラートの作成",
1372213721
"xpack.observability.emptySection.apps.alert.title": "アラートが見つかりません。",

x-pack/plugins/translations/translations/zh-CN.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13725,7 +13725,6 @@
1372513725
"xpack.monitoring.updateLicenseTitle": "更新您的许可证",
1372613726
"xpack.monitoring.useAvailableLicenseDescription": "如果已有新的许可证,请立即上传。",
1372713727
"xpack.monitoring.wedLabel": "周三",
13728-
"xpack.observability.beta": "公测版",
1372913728
"xpack.observability.emptySection.apps.alert.description": "503 错误是否越来越多?服务是否响应?CPU 和 RAM 利用率是否激增?实时查看警告,而不是事后再进行剖析。",
1373013729
"xpack.observability.emptySection.apps.alert.link": "创建告警",
1373113730
"xpack.observability.emptySection.apps.alert.title": "未找到告警。",

0 commit comments

Comments
 (0)