Skip to content

Commit

Permalink
[OBS] Remove beta badge, change news feed size and add external icon …
Browse files Browse the repository at this point in the history
…to news feed link (#77164) (#77330)

* removing beta badge

* change news feed size and adding external icon

* fixing i18n

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
cauemarcondes and elasticmachine authored Sep 15, 2020
1 parent 6fd8e33 commit af15529
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

import {
EuiBetaBadge,
EuiButtonEmpty,
EuiFlexGroup,
EuiFlexItem,
Expand Down Expand Up @@ -58,12 +57,7 @@ export function Header({
<h1>
{i18n.translate('xpack.observability.home.title', {
defaultMessage: 'Observability',
})}{' '}
<EuiBetaBadge
className="eui-alignMiddle"
label={i18n.translate('xpack.observability.beta', { defaultMessage: 'Beta' })}
tooltipContent="This feature is in beta. Please help us improve it by reporting any bugs or give us feedback."
/>
})}
</h1>
</EuiTitle>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ function NewsItem({ item }: { item: INewsItem }) {
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiLink href={item.link_url.en} target="_blank">
<EuiText size="xs">
<EuiText size="xs">
<EuiLink href={item.link_url.en} target="_blank" external>
{i18n.translate('xpack.observability.news.readFullStory', {
defaultMessage: 'Read full story',
})}
</EuiText>
</EuiLink>
</EuiLink>
</EuiText>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export function OverviewPage({ routeParams }: Props) {

{!!newsFeed?.items?.length && (
<EuiFlexItem grow={false}>
<NewsFeed items={newsFeed.items.slice(0, 3)} />
<NewsFeed items={newsFeed.items.slice(0, 5)} />
</EuiFlexItem>
)}
</EuiFlexGroup>
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -13711,7 +13711,6 @@
"xpack.monitoring.updateLicenseTitle": "ライセンスの更新",
"xpack.monitoring.useAvailableLicenseDescription": "既に新しいライセンスがある場合は、今すぐアップロードしてください。",
"xpack.monitoring.wedLabel": "水",
"xpack.observability.beta": "ベータ",
"xpack.observability.emptySection.apps.alert.description": "503エラーが累積していますか?サービスは応答していますか?CPUとRAMの使用量が跳ね上がっていますか?このような警告を、事後にではなく、発生と同時に把握しましょう。",
"xpack.observability.emptySection.apps.alert.link": "アラートの作成",
"xpack.observability.emptySection.apps.alert.title": "アラートが見つかりません。",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -13720,7 +13720,6 @@
"xpack.monitoring.updateLicenseTitle": "更新您的许可证",
"xpack.monitoring.useAvailableLicenseDescription": "如果已有新的许可证,请立即上传。",
"xpack.monitoring.wedLabel": "周三",
"xpack.observability.beta": "公测版",
"xpack.observability.emptySection.apps.alert.description": "503 错误是否越来越多?服务是否响应?CPU 和 RAM 利用率是否激增?实时查看警告,而不是事后再进行剖析。",
"xpack.observability.emptySection.apps.alert.link": "创建告警",
"xpack.observability.emptySection.apps.alert.title": "未找到告警。",
Expand Down

0 comments on commit af15529

Please sign in to comment.