Skip to content
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

Renamed button and dropdown items in headers (apm, logs, metrics and uptime) from alerts to rules #100918

Merged
merged 170 commits into from
Jun 22, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
7f1a7dd
Adding feature flag for auth
jonathan-buttner Mar 9, 2021
164582d
Hiding SOs and adding consumer field
jonathan-buttner Mar 9, 2021
7eaf41e
First pass at adding security changes
jonathan-buttner Mar 9, 2021
f8e62c6
Consumer as the app's plugin ID
cnasikas Mar 10, 2021
09589c3
Create addConsumerToSO migration helper
cnasikas Mar 10, 2021
eb75eb0
Fix mapping's SO consumer
cnasikas Mar 10, 2021
a930f03
Add test for CasesActions
cnasikas Mar 10, 2021
d6f3b09
Declare hidden types on SO client
cnasikas Mar 10, 2021
b82e686
Restructure integration tests
cnasikas Mar 10, 2021
4d05175
Init spaces_only integration tests
cnasikas Mar 10, 2021
75d72ae
Implementing the cases security string
jonathan-buttner Mar 10, 2021
e65838b
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner Mar 10, 2021
1fd66af
Adding security plugin tests for cases
jonathan-buttner Mar 10, 2021
4560d42
Rough concept for authorization class
jonathan-buttner Mar 10, 2021
ef9b3b2
Adding comments
jonathan-buttner Mar 10, 2021
b22a032
Fix merge
cnasikas Mar 11, 2021
ddc2280
Get requiredPrivileges for classes
cnasikas Mar 11, 2021
9d008d8
Check privillages
cnasikas Mar 11, 2021
7bb23dd
Ensure that all classes are available
cnasikas Mar 11, 2021
65d4c6b
Success if hasAllRequested is true
cnasikas Mar 11, 2021
59e4045
Failure if hasAllRequested is false
cnasikas Mar 11, 2021
4092733
Adding schema updates for feature plugin
jonathan-buttner Mar 11, 2021
311e3f4
Seperate basic from trial
cnasikas Mar 16, 2021
f2a50d3
Enable SIR on integration tests
cnasikas Mar 16, 2021
00d89ca
Starting the plumbing for authorization in plugin
jonathan-buttner Mar 16, 2021
40cfcce
Merge branch 'master' into cases-rbac-poc
cnasikas Mar 17, 2021
644a7ac
Unit tests working
jonathan-buttner Mar 17, 2021
9bb1b86
Merge branch 'cases-rbac-poc-plugin-changes' into cases-rbac-poc
jonathan-buttner Mar 17, 2021
12d6e2e
Move find route logic to case client
cnasikas Mar 17, 2021
84d9167
Create integration test helper functions
cnasikas Mar 17, 2021
4bed458
Adding auth to create call
jonathan-buttner Mar 17, 2021
ecb3135
Create getClassFilter helper
cnasikas Mar 18, 2021
fe1d8c8
Add class attribute to find request
cnasikas Mar 18, 2021
22e7752
Create getFindAuthorizationFilter
cnasikas Mar 18, 2021
96f81a4
Ensure savedObject is authorized in find method
cnasikas Mar 18, 2021
e3ae097
Merge branch 'master' into cases-rbac-poc
cnasikas Mar 22, 2021
06d7c64
Include fields for authorization
cnasikas Mar 22, 2021
2ca4134
Combine authorization filter with cases & subcases filter
cnasikas Mar 22, 2021
17110b1
Fix isAuthorized flag
cnasikas Mar 22, 2021
bc06264
Fix merge issue
cnasikas Mar 22, 2021
a04e0d7
Create/delete spaces & users before and after tests
cnasikas Mar 22, 2021
7fe4e40
Add more user and roles
cnasikas Mar 22, 2021
2847861
[Cases] Convert filters from strings to KueryNode (#95288)
cnasikas Mar 24, 2021
a2e1da8
[Cases] RBAC: Rename class to scope (#95535)
cnasikas Mar 26, 2021
9263d7d
Merge branch 'master' into cases-rbac-poc
cnasikas Mar 26, 2021
afff0cc
Merge branch 'master' into cases-rbac-poc
cnasikas Apr 1, 2021
7cf9172
[Cases][RBAC] Rename scope to owner (#96035)
cnasikas Apr 1, 2021
0a95e55
[Cases] RBAC: Create & Find integration tests (#95511)
cnasikas Apr 2, 2021
1a895e5
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner Apr 5, 2021
9ffc3db
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner Apr 6, 2021
4f3c37e
[Cases] Cases client enchantment (#95923)
cnasikas Apr 6, 2021
36781db
[Cases] Authorization and Client Audit Logger (#95477)
jonathan-buttner Apr 6, 2021
73a4bfc
[Cases] Migrate sub cases routes to a client (#96461)
jonathan-buttner Apr 8, 2021
ae918cc
Merge branch 'master' into cases-rbac-poc
cnasikas Apr 12, 2021
e59602c
Merge branch 'cases-rbac-poc' of github.com:elastic/kibana into cases…
cnasikas Apr 12, 2021
34f2d86
[Cases] RBAC: Migrate routes' unit tests to integration tests (#96374)
cnasikas Apr 14, 2021
613e859
[Cases] Move remaining HTTP functionality to client (#96507)
jonathan-buttner Apr 14, 2021
676173e
[Cases] Refactoring authorization (#97483)
jonathan-buttner Apr 20, 2021
6cdfa84
[Cases] Add authorization to configuration & cases routes (#97228)
cnasikas Apr 26, 2021
7b21b7a
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner Apr 27, 2021
103388e
[Cases] Attachments RBAC (#97756)
jonathan-buttner Apr 30, 2021
18e75d9
[Cases] Add RBAC to remaining Cases APIs (#98762)
jonathan-buttner May 4, 2021
d99d9f8
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 4, 2021
b121662
Fixing some type errors
jonathan-buttner May 4, 2021
42162e3
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 6, 2021
298ba34
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 6, 2021
c0fb868
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 7, 2021
21d173d
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 10, 2021
b910889
[Cases] Add space only tests (#99409)
jonathan-buttner May 10, 2021
78dfac4
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 10, 2021
bf583a8
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 11, 2021
3fd893f
[Cases] Add security only tests (#99679)
jonathan-buttner May 11, 2021
86568ed
Adding sub feature
jonathan-buttner May 12, 2021
952e2a3
[Cases] Cleaning up the services and TODOs (#99723)
jonathan-buttner May 14, 2021
e26de43
Integration tests for cases privs and fixes (#100038)
jonathan-buttner May 14, 2021
2d8601b
[Cases] RBAC on UI (#99478)
cnasikas May 14, 2021
570cddb
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 14, 2021
3c7670b
Fixing case ids by alert id route call
jonathan-buttner May 14, 2021
dafb4fe
[Cases] Fixing UI feature permissions and adding UI tests (#100074)
jonathan-buttner May 14, 2021
b7c5ebd
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 14, 2021
698e8e2
Fixing type error
jonathan-buttner May 14, 2021
22abf1f
Merge branch 'master' into cases-rbac-poc
kibanamachine May 17, 2021
71225eb
Adding some comments
jonathan-buttner May 17, 2021
f7a816b
Validate cases features
cnasikas May 18, 2021
2ed0a99
Merge branch 'master' into cases-rbac-poc
cnasikas May 18, 2021
fd39b25
Fix new schema
cnasikas May 18, 2021
84141fc
Merge branch 'master' into cases_obs
stephmilovic May 18, 2021
e3d3e8c
Cases routing
stephmilovic May 18, 2021
a193138
Merge branch 'master' into cases-rbac-poc
kibanamachine May 18, 2021
eb7fdd7
Adding cases feature
jonathan-buttner May 18, 2021
ce68009
wip
stephmilovic May 18, 2021
77b5a54
Merge pull request #3 from jonathan-buttner/obs-cases-feature
stephmilovic May 18, 2021
722649e
i made a case
stephmilovic May 18, 2021
85e3de7
cases in obs
stephmilovic May 19, 2021
1c7b613
add back in user permissions
stephmilovic May 20, 2021
1f9059c
Merge branch 'master' into cases-rbac-poc
kibanamachine May 20, 2021
2085a3b
Merge branch 'master' into cases-rbac-poc
kibanamachine May 24, 2021
ccd7e79
Merge branch 'master' into cases_obs
stephmilovic May 24, 2021
66c1d43
Adding owner param for the status stats
jonathan-buttner May 24, 2021
018dcb5
Merge branch 'master' into cases-rbac-poc
kibanamachine May 24, 2021
34b16c5
Fix get case status tests
cnasikas May 25, 2021
fb7e7a9
in middle of removing alerts stuff
stephmilovic May 25, 2021
9f9f936
Merge branch 'cases-rbac-poc' into cases_obs
stephmilovic May 25, 2021
882d97c
removed alerting and fixing types
stephmilovic May 25, 2021
fe20f5c
fix submitCase when no alerting
stephmilovic May 25, 2021
5345d40
fix up breadcrumbs
stephmilovic May 25, 2021
8c2cc61
Fix jest
stephmilovic May 25, 2021
528c9be
Fix types
stephmilovic May 25, 2021
bd694ca
change key for message storage
stephmilovic May 25, 2021
9ba1243
Adjusting permissions text and fixing status
jonathan-buttner May 25, 2021
9ef3ab4
may it please CI
stephmilovic May 25, 2021
5df7d33
arrys rbac changes
stephmilovic May 26, 2021
315a6e4
Address PR feedback
jonathan-buttner May 26, 2021
02ad6a4
Adding top level feature back
jonathan-buttner May 26, 2021
e8c3532
Merge branch 'master' into cases-rbac-poc
kibanamachine May 26, 2021
fd54706
fix type
stephmilovic May 27, 2021
8881899
Fixing feature privileges
jonathan-buttner May 27, 2021
dd62656
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner May 27, 2021
acf550b
Renaming
jonathan-buttner May 27, 2021
148623e
Removing uneeded else
jonathan-buttner May 27, 2021
7acf83a
Fixing tests and adding cases merge tests
jonathan-buttner May 27, 2021
dd38b98
renamed button and dropdown items in headers (apm, logs, metrics and …
katrin-freihofner May 28, 2021
b03fa4c
Merge branch 'master' into cases-rbac-poc
kibanamachine May 28, 2021
532edae
fix linting
katrin-freihofner May 31, 2021
0af0562
removed wrong translations
katrin-freihofner May 31, 2021
1301303
fix test
katrin-freihofner Jun 1, 2021
673e77c
Merge branch 'master' into rename-alerts-to-rules
kibanamachine Jun 1, 2021
445c846
[Cases][Security Solution] Basic license security solution API tests …
jonathan-buttner Jun 1, 2021
c08ac43
Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc
jonathan-buttner Jun 1, 2021
bee51fd
midst of nathans pr changes
stephmilovic Jun 1, 2021
359df83
merge conflicts and EuiPage to ObsPage on cases
stephmilovic Jun 1, 2021
bf02730
redirect after delete
stephmilovic Jun 1, 2021
c0f2105
does not exist page
stephmilovic Jun 2, 2021
9266b17
fix tests
stephmilovic Jun 2, 2021
1edb767
fix types
stephmilovic Jun 2, 2021
373cd68
Merge branch 'master' into cases-rbac-poc
kibanamachine Jun 2, 2021
8f2cb30
fix jest
stephmilovic Jun 3, 2021
6a66a6c
Merge branch 'cases-rbac-poc' into cases_obs
stephmilovic Jun 3, 2021
d59dbad
renaming to unsecuredSavedObjectsClient (#101215)
jonathan-buttner Jun 3, 2021
7ef02f4
Merge branch 'master' into cases-rbac-poc
kibanamachine Jun 3, 2021
739fd6f
[Cases] RBAC Refactoring audit logging (#100952)
jonathan-buttner Jun 3, 2021
9d87078
fixing links
stephmilovic Jun 3, 2021
28152b8
Merge branch 'cases-rbac-poc' into cases_obs
stephmilovic Jun 3, 2021
e66eb40
[Cases] Cleaning up RBAC integration tests (#101324)
jonathan-buttner Jun 4, 2021
5bd080b
Merge branch 'master' into cases-rbac-poc
kibanamachine Jun 4, 2021
56e0f0d
Merge branch 'master' into cases-rbac-poc
kibanamachine Jun 7, 2021
1211f7f
Merge branch 'cases-rbac-poc' into cases_obs
kibanamachine Jun 7, 2021
7534f28
merge w masteR
stephmilovic Jun 7, 2021
6611765
remove testing links
stephmilovic Jun 7, 2021
c27aa29
add comments
stephmilovic Jun 7, 2021
831dedb
pr changes and remove unnecessary vars
stephmilovic Jun 7, 2021
511f3f7
pr changes and WIP func tests
stephmilovic Jun 9, 2021
58a4ecf
add es archiver
stephmilovic Jun 9, 2021
109a5da
Getting cases to show up in the nav
jonathan-buttner Jun 9, 2021
66f2645
finish func tests
stephmilovic Jun 9, 2021
f93a6ac
Merge branch 'cases_obs' of github.com:stephmilovic/kibana into cases…
stephmilovic Jun 9, 2021
edbd419
a fixing
stephmilovic Jun 9, 2021
0f34792
more pr updates
stephmilovic Jun 9, 2021
09e9ca0
fix telemetry
stephmilovic Jun 9, 2021
1014700
fix a few types and test
stephmilovic Jun 9, 2021
4e7fde7
Merge branch 'cases_obs' of https://github.com/stephmilovic/kibana in…
katrin-freihofner Jun 10, 2021
a610aca
Merge branch 'rename-alerts-to-rules' of https://github.com/katrin-fr…
katrin-freihofner Jun 17, 2021
1015301
renamed alerts in Uptime and on the Overview page
katrin-freihofner Jun 17, 2021
4f55665
resolve conflics
katrin-freihofner Jun 17, 2021
8666712
resolve conflics
katrin-freihofner Jun 17, 2021
24ee82d
fix tests
katrin-freihofner Jun 18, 2021
597bcdc
fix tests
katrin-freihofner Jun 18, 2021
2808f68
added label to list of translations
katrin-freihofner Jun 21, 2021
7b958ad
fix tests
katrin-freihofner Jun 22, 2021
6e79546
Merge branch 'master' into rename-alerts-to-rules
kibanamachine Jun 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { AlertType } from '../../../common/alert_types';
import { AlertingFlyout } from '../../components/alerting/alerting_flyout';

const alertLabel = i18n.translate('xpack.apm.home.alertsMenu.alerts', {
defaultMessage: 'Alerts',
defaultMessage: 'Alerts and rules',
});
const transactionDurationLabel = i18n.translate(
'xpack.apm.home.alertsMenu.transactionDuration',
Expand All @@ -33,11 +33,11 @@ const errorCountLabel = i18n.translate('xpack.apm.home.alertsMenu.errorCount', {
});
const createThresholdAlertLabel = i18n.translate(
'xpack.apm.home.alertsMenu.createThresholdAlert',
{ defaultMessage: 'Create threshold alert' }
{ defaultMessage: 'Create threshold rule' }
);
const createAnomalyAlertAlertLabel = i18n.translate(
'xpack.apm.home.alertsMenu.createAnomalyAlert',
{ defaultMessage: 'Create anomaly alert' }
{ defaultMessage: 'Create anomaly rule' }
);

const CREATE_TRANSACTION_DURATION_ALERT_PANEL_ID =
Expand Down Expand Up @@ -101,7 +101,7 @@ export function AlertingPopoverAndFlyout({
{
name: i18n.translate(
'xpack.apm.home.alertsMenu.viewActiveAlerts',
{ defaultMessage: 'View active alerts' }
{ defaultMessage: 'Manage rules' }
),
href: basePath.prepend(
'/app/management/insightsAndAlerting/triggersActions/alerts'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ export const MetricsAlertDropdown = () => {
() => ({
id: 1,
title: i18n.translate('xpack.infra.alerting.infrastructureDropdownTitle', {
defaultMessage: 'Infrastructure alerts',
defaultMessage: 'Infrastructure rules',
}),
items: [
{
name: i18n.translate('xpack.infra.alerting.createInventoryAlertButton', {
defaultMessage: 'Create inventory alert',
defaultMessage: 'Create inventory rule',
}),
onClick: () => setVisibleFlyoutType('inventory'),
},
Expand All @@ -54,12 +54,12 @@ export const MetricsAlertDropdown = () => {
() => ({
id: 2,
title: i18n.translate('xpack.infra.alerting.metricsDropdownTitle', {
defaultMessage: 'Metrics alerts',
defaultMessage: 'Metrics rules',
}),
items: [
{
name: i18n.translate('xpack.infra.alerting.createThresholdAlertButton', {
defaultMessage: 'Create threshold alert',
defaultMessage: 'Create threshold rule',
}),
onClick: () => setVisibleFlyoutType('threshold'),
},
Expand All @@ -76,7 +76,7 @@ export const MetricsAlertDropdown = () => {
const manageAlertsMenuItem = useMemo(
() => ({
name: i18n.translate('xpack.infra.alerting.manageAlerts', {
defaultMessage: 'Manage alerts',
defaultMessage: 'Manage rules',
}),
icon: 'tableOfContents',
onClick: manageAlertsLinkProps.onClick,
Expand Down Expand Up @@ -112,7 +112,7 @@ export const MetricsAlertDropdown = () => {
{
id: 0,
title: i18n.translate('xpack.infra.alerting.alertDropdownTitle', {
defaultMessage: 'Alerts',
defaultMessage: 'Alerts and rules',
}),
items: firstPanelMenuItems,
},
Expand All @@ -135,7 +135,10 @@ export const MetricsAlertDropdown = () => {
anchorPosition="downLeft"
button={
<EuiButtonEmpty iconSide={'right'} iconType={'arrowDown'} onClick={openPopover}>
<FormattedMessage id="xpack.infra.alerting.alertsButton" defaultMessage="Alerts" />
<FormattedMessage
id="xpack.infra.alerting.alertsButton"
defaultMessage="Alerts and rules"
/>
</EuiButtonEmpty>
}
isOpen={popoverOpen}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const ManageAlertsContextMenuItem = () => {
});
return (
<EuiContextMenuItem icon="tableOfContents" key="manageLink" {...manageAlertsLinkProps}>
<FormattedMessage id="xpack.infra.alerting.manageAlerts" defaultMessage="Manage alerts" />
<FormattedMessage id="xpack.infra.alerting.manageAlerts" defaultMessage="Manage rules" />
</EuiContextMenuItem>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ export const AlertDropdown = () => {
>
<FormattedMessage
id="xpack.infra.alerting.logs.createAlertButton"
defaultMessage="Create alert"
defaultMessage="Create rule"
/>
</EuiContextMenuItem>,
<EuiContextMenuItem icon="tableOfContents" key="manageLink" {...manageAlertsLinkProps}>
<FormattedMessage
id="xpack.infra.alerting.logs.manageAlerts"
defaultMessage="Manage alerts"
defaultMessage="Manage rules"
/>
</EuiContextMenuItem>,
];
Expand All @@ -84,7 +84,10 @@ export const AlertDropdown = () => {
panelPaddingSize="none"
button={
<EuiButtonEmpty iconSide={'right'} iconType={'arrowDown'} onClick={openPopover}>
<FormattedMessage id="xpack.infra.alerting.logs.alertsButton" defaultMessage="Alerts" />
<FormattedMessage
id="xpack.infra.alerting.logs.alertsButton"
defaultMessage="Alerts and rules"
/>
</EuiButtonEmpty>
}
isOpen={popoverOpen}
Expand Down
24 changes: 0 additions & 24 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -5518,13 +5518,9 @@
"xpack.apm.header.badge.readOnly.text": "読み取り専用",
"xpack.apm.header.badge.readOnly.tooltip": "を保存できませんでした",
"xpack.apm.helpMenu.upgradeAssistantLink": "アップグレードアシスタント",
"xpack.apm.home.alertsMenu.alerts": "アラート",
"xpack.apm.home.alertsMenu.createAnomalyAlert": "異常アラートを作成",
"xpack.apm.home.alertsMenu.createThresholdAlert": "しきい値アラートを作成",
"xpack.apm.home.alertsMenu.errorCount": "エラー数",
"xpack.apm.home.alertsMenu.transactionDuration": "レイテンシ",
"xpack.apm.home.alertsMenu.transactionErrorRate": "トランザクションエラー率",
"xpack.apm.home.alertsMenu.viewActiveAlerts": "アクティブアラートを表示",
"xpack.apm.home.serviceMapTabLabel": "サービスマップ",
"xpack.apm.home.servicesTabLabel": "サービス",
"xpack.apm.home.tracesTabLabel": "トレース",
Expand Down Expand Up @@ -10989,20 +10985,10 @@
"xpack.indexLifecycleMgmt.timeline.title": "ポリシー概要",
"xpack.indexLifecycleMgmt.timeline.warmPhaseSectionTitle": "ウォームフェーズ",
"xpack.indexLifecycleMgmt.warmPhase.dataTier.description": "頻度が低い読み取り専用アクセス用に最適化されたノードにデータを移動します。",
"xpack.infra.alerting.alertDropdownTitle": "アラート",
"xpack.infra.alerting.alertFlyout.groupBy.placeholder": "なし (グループなし) ",
"xpack.infra.alerting.alertFlyout.groupByLabel": "グループ分けの条件",
"xpack.infra.alerting.alertsButton": "アラート",
"xpack.infra.alerting.createInventoryAlertButton": "インベントリアラートの作成",
"xpack.infra.alerting.createThresholdAlertButton": "しきい値アラートを作成",
"xpack.infra.alerting.infrastructureDropdownMenu": "インフラストラクチャー",
"xpack.infra.alerting.infrastructureDropdownTitle": "インフラストラクチャーアラート",
"xpack.infra.alerting.logs.alertsButton": "アラート",
"xpack.infra.alerting.logs.createAlertButton": "アラートの作成",
"xpack.infra.alerting.logs.manageAlerts": "アラートを管理",
"xpack.infra.alerting.manageAlerts": "アラートを管理",
"xpack.infra.alerting.metricsDropdownMenu": "メトリック",
"xpack.infra.alerting.metricsDropdownTitle": "メトリックアラート",
"xpack.infra.alerts.charts.errorMessage": "問題が発生しました",
"xpack.infra.alerts.charts.loadingMessage": "読み込み中",
"xpack.infra.alerts.charts.noDataMessage": "グラフデータがありません",
Expand Down Expand Up @@ -23785,8 +23771,6 @@
"xpack.uptime.alerts.tls.validAfterExpiringString": "{relativeDate}日以内、{date}に期限切れになります。",
"xpack.uptime.alerts.tls.validBeforeExpiredString": "{relativeDate}日前、{date}以降有効です。",
"xpack.uptime.alerts.tls.validBeforeExpiringString": "今から{relativeDate}日間、{date}まで無効です。",
"xpack.uptime.alerts.toggleAlertFlyoutButtonText": "アラート",
"xpack.uptime.alertsPopover.toggleButton.ariaLabel": "アラートコンテキストメニューを開く",
"xpack.uptime.apmIntegrationAction.description": "このモニターの検索 APM",
"xpack.uptime.apmIntegrationAction.text": "APMデータを表示",
"xpack.uptime.availabilityLabelText": "{value} %",
Expand Down Expand Up @@ -24087,11 +24071,7 @@
"xpack.uptime.monitorStatusBar.timestampFromNowTextAriaLabel": "最終確認からの経過時間",
"xpack.uptime.monitorStatusBar.type.ariaLabel": "モニタータイプ",
"xpack.uptime.monitorStatusBar.type.label": "型",
"xpack.uptime.navigateToAlertingButton.content": "アラートを管理",
"xpack.uptime.navigateToAlertingUi": "Uptime を離れてアラート管理ページに移動します",
"xpack.uptime.notFountPage.homeLinkText": "ホームへ戻る",
"xpack.uptime.openAlertContextPanel.ariaLabel": "アラートコンテキストパネルを開くと、アラートタイプを選択できます",
"xpack.uptime.openAlertContextPanel.label": "アラートの作成",
"xpack.uptime.overview.alerts.disabled.failed": "アラートを無効にできません。",
"xpack.uptime.overview.alerts.disabled.success": "アラートが正常に無効にされました。",
"xpack.uptime.overview.alerts.enabled.failed": "アラートを有効にできません。",
Expand Down Expand Up @@ -24263,10 +24243,6 @@
"xpack.uptime.synthetics.waterfallChart.labels.timings.ssl": "TLS",
"xpack.uptime.synthetics.waterfallChart.labels.timings.wait": "待機中 (TTFB) ",
"xpack.uptime.title": "アップタイム",
"xpack.uptime.toggleAlertButton.content": "ステータスアラートを監視",
"xpack.uptime.toggleAlertFlyout.ariaLabel": "アラートの追加ポップアップを開く",
"xpack.uptime.toggleTlsAlertButton.ariaLabel": "TLSアラートの追加ポップアップを開く",
"xpack.uptime.toggleTlsAlertButton.content": "TLSアラート",
"xpack.uptime.uptimeFeatureCatalogueTitle": "アップタイム",
"xpack.urlDrilldown.click.event.key.documentation": "クリックしたデータポイントの後ろのフィールド名。",
"xpack.urlDrilldown.click.event.key.title": "クリックしたフィールドの名前。",
Expand Down
24 changes: 0 additions & 24 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -5548,13 +5548,9 @@
"xpack.apm.header.badge.readOnly.text": "只读",
"xpack.apm.header.badge.readOnly.tooltip": "无法保存",
"xpack.apm.helpMenu.upgradeAssistantLink": "升级助手",
"xpack.apm.home.alertsMenu.alerts": "告警",
"xpack.apm.home.alertsMenu.createAnomalyAlert": "创建异常告警",
"xpack.apm.home.alertsMenu.createThresholdAlert": "创建阈值告警",
"xpack.apm.home.alertsMenu.errorCount": "错误计数",
"xpack.apm.home.alertsMenu.transactionDuration": "延迟",
"xpack.apm.home.alertsMenu.transactionErrorRate": "事务错误率",
"xpack.apm.home.alertsMenu.viewActiveAlerts": "查看活动告警",
"xpack.apm.home.serviceMapTabLabel": "服务地图",
"xpack.apm.home.servicesTabLabel": "服务",
"xpack.apm.home.tracesTabLabel": "追溯",
Expand Down Expand Up @@ -11127,20 +11123,10 @@
"xpack.indexLifecycleMgmt.timeline.title": "策略摘要",
"xpack.indexLifecycleMgmt.timeline.warmPhaseSectionTitle": "温阶段",
"xpack.indexLifecycleMgmt.warmPhase.dataTier.description": "将数据移到针对不太频繁的只读访问优化的节点。",
"xpack.infra.alerting.alertDropdownTitle": "告警",
"xpack.infra.alerting.alertFlyout.groupBy.placeholder": "无内容 (未分组) ",
"xpack.infra.alerting.alertFlyout.groupByLabel": "分组依据",
"xpack.infra.alerting.alertsButton": "告警",
"xpack.infra.alerting.createInventoryAlertButton": "创建库存告警",
"xpack.infra.alerting.createThresholdAlertButton": "创建阈值告警",
"xpack.infra.alerting.infrastructureDropdownMenu": "基础设施",
"xpack.infra.alerting.infrastructureDropdownTitle": "基础架构告警",
"xpack.infra.alerting.logs.alertsButton": "告警",
"xpack.infra.alerting.logs.createAlertButton": "创建告警",
"xpack.infra.alerting.logs.manageAlerts": "管理告警",
"xpack.infra.alerting.manageAlerts": "管理告警",
"xpack.infra.alerting.metricsDropdownMenu": "指标",
"xpack.infra.alerting.metricsDropdownTitle": "指标告警",
"xpack.infra.alerts.charts.errorMessage": "哇哦,出问题了",
"xpack.infra.alerts.charts.loadingMessage": "正在加载",
"xpack.infra.alerts.charts.noDataMessage": "没有可用图表数据",
Expand Down Expand Up @@ -24153,8 +24139,6 @@
"xpack.uptime.alerts.tls.validAfterExpiringString": "将在{relativeDate} 天后,即 {date}到期。",
"xpack.uptime.alerts.tls.validBeforeExpiredString": "自 {relativeDate} 天前,即 {date}开始生效。",
"xpack.uptime.alerts.tls.validBeforeExpiringString": "从现在到 {date}的 {relativeDate} 天里无效。",
"xpack.uptime.alerts.toggleAlertFlyoutButtonText": "告警",
"xpack.uptime.alertsPopover.toggleButton.ariaLabel": "打开告警上下文菜单",
"xpack.uptime.apmIntegrationAction.description": "在 APM 中搜索此监测",
"xpack.uptime.apmIntegrationAction.text": "显示 APM 数据",
"xpack.uptime.availabilityLabelText": "{value} %",
Expand Down Expand Up @@ -24455,11 +24439,7 @@
"xpack.uptime.monitorStatusBar.timestampFromNowTextAriaLabel": "自上次检查以来经过的时间",
"xpack.uptime.monitorStatusBar.type.ariaLabel": "监测类型",
"xpack.uptime.monitorStatusBar.type.label": "类型",
"xpack.uptime.navigateToAlertingButton.content": "管理告警",
"xpack.uptime.navigateToAlertingUi": "离开 Uptime 并前往“Alerting 管理”页面",
"xpack.uptime.notFountPage.homeLinkText": "返回主页",
"xpack.uptime.openAlertContextPanel.ariaLabel": "打开告警上下文面板,以便可以选择告警类型",
"xpack.uptime.openAlertContextPanel.label": "创建告警",
"xpack.uptime.overview.alerts.disabled.failed": "无法禁用告警!",
"xpack.uptime.overview.alerts.disabled.success": "已成功禁用告警!",
"xpack.uptime.overview.alerts.enabled.failed": "无法启用告警!",
Expand Down Expand Up @@ -24631,10 +24611,6 @@
"xpack.uptime.synthetics.waterfallChart.labels.timings.ssl": "TLS",
"xpack.uptime.synthetics.waterfallChart.labels.timings.wait": "等待中 (TTFB)",
"xpack.uptime.title": "运行时间",
"xpack.uptime.toggleAlertButton.content": "监测状态告警",
"xpack.uptime.toggleAlertFlyout.ariaLabel": "打开添加告警浮出控件",
"xpack.uptime.toggleTlsAlertButton.ariaLabel": "打开 TLS 告警浮出控件",
"xpack.uptime.toggleTlsAlertButton.content": "TLS 告警",
"xpack.uptime.uptimeFeatureCatalogueTitle": "运行时间",
"xpack.urlDrilldown.click.event.key.documentation": "已点击数据点背后的字段名称。",
"xpack.urlDrilldown.click.event.key.title": "已点击字段的名称。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ describe('ActionMenuContent', () => {
it('renders alerts dropdown', async () => {
const { getByLabelText, getByText } = render(<ActionMenuContent />);

const alertsDropdown = getByLabelText('Open alert context menu');
const alertsDropdown = getByLabelText('Open alerts and rules context menu');
fireEvent.click(alertsDropdown);

await waitFor(() => {
expect(getByText('Create alert'));
expect(getByText('Manage alerts'));
expect(getByText('Create rule'));
expect(getByText('Manage rules'));
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const ToggleAlertFlyoutButtonComponent: React.FC<Props> = ({
>
<FormattedMessage
id="xpack.uptime.navigateToAlertingButton.content"
defaultMessage="Manage alerts"
defaultMessage="Manage rules"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think potentially you will have remove existing translations from existing translated labels.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right. You might need to manually remove them from the JSON files. Not sure if running node scripts/i18n_check --fix will pick this up.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, thank you, I will try to fix this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node scripts/i18n_check --fix should fix any removed ids. our extraction tools automatically detect changed messages for retranslation so devs dont ahve to worry about it.

/>
</EuiLink>
),
Expand Down Expand Up @@ -114,7 +114,7 @@ export const ToggleAlertFlyoutButtonComponent: React.FC<Props> = ({
},
{
id: ALERT_CONTEXT_SELECT_TYPE_PANEL_ID,
title: 'create alerts',
title: 'Create rules',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should translate this title.

We can add the string to the list of translations in the dedicated file, and reference it here.

Suggested change
title: 'Create rules',
title: i18n.translate('xpack.uptime.alerts.createRulesPanel.title', { defaultMessage: 'Create rules' }),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I will add that.

items: selectionItems,
},
];
Expand All @@ -132,7 +132,7 @@ export const ToggleAlertFlyoutButtonComponent: React.FC<Props> = ({
>
<FormattedMessage
id="xpack.uptime.alerts.toggleAlertFlyoutButtonText"
defaultMessage="Alerts"
defaultMessage="Alerts and rules"
/>
</EuiButtonEmpty>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,30 +283,30 @@ export const TlsTranslations = {

export const ToggleFlyoutTranslations = {
toggleButtonAriaLabel: i18n.translate('xpack.uptime.alertsPopover.toggleButton.ariaLabel', {
defaultMessage: 'Open alert context menu',
defaultMessage: 'Open alerts and rules context menu',
}),
openAlertContextPanelAriaLabel: i18n.translate('xpack.uptime.openAlertContextPanel.ariaLabel', {
defaultMessage: 'Open the alert context panel so you can choose an alert type',
defaultMessage: 'Open the rule context panel so you can choose a rule type',
}),
openAlertContextPanelLabel: i18n.translate('xpack.uptime.openAlertContextPanel.label', {
defaultMessage: 'Create alert',
defaultMessage: 'Create rule',
}),
toggleTlsAriaLabel: i18n.translate('xpack.uptime.toggleTlsAlertButton.ariaLabel', {
defaultMessage: 'Open TLS alert flyout',
defaultMessage: 'Open TLS rule flyout',
}),
toggleTlsContent: i18n.translate('xpack.uptime.toggleTlsAlertButton.content', {
defaultMessage: 'TLS alert',
defaultMessage: 'TLS rule',
}),
toggleMonitorStatusAriaLabel: i18n.translate('xpack.uptime.toggleAlertFlyout.ariaLabel', {
defaultMessage: 'Open add alert flyout',
defaultMessage: 'Open add rule flyout',
}),
toggleMonitorStatusContent: i18n.translate('xpack.uptime.toggleAlertButton.content', {
defaultMessage: 'Monitor status alert',
defaultMessage: 'Monitor status rule',
}),
navigateToAlertingUIAriaLabel: i18n.translate('xpack.uptime.navigateToAlertingUi', {
defaultMessage: 'Leave Uptime and go to Alerting Management page',
}),
navigateToAlertingButtonContent: i18n.translate('xpack.uptime.navigateToAlertingButton.content', {
defaultMessage: 'Manage alerts',
defaultMessage: 'Manage rules',
}),
};