Skip to content

Commit

Permalink
[APM] Remove service map fullscreen control (#56351)
Browse files Browse the repository at this point in the history
  • Loading branch information
smith authored Feb 5, 2020
1 parent 27dd6dd commit 900af82
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import React, { useContext, useEffect, useState } from 'react';
import styled from 'styled-components';
import { CytoscapeContext } from './Cytoscape';
import { animationOptions, nodeHeight } from './cytoscapeOptions';
import { FullscreenPanel } from './FullscreenPanel';

const ControlsContainer = styled('div')`
left: ${theme.gutterTypes.gutterMedium};
Expand Down Expand Up @@ -87,7 +86,6 @@ export function Controls() {
const minZoom = cy.minZoom();
const isMinZoom = zoom === minZoom;
const increment = (maxZoom - minZoom) / steps;
const mapDomElement = cy.container();
const zoomInLabel = i18n.translate('xpack.apm.serviceMap.zoomIn', {
defaultMessage: 'Zoom in'
});
Expand Down Expand Up @@ -127,7 +125,6 @@ export function Controls() {
title={centerLabel}
/>
</EuiPanel>
<FullscreenPanel element={mapDomElement} />
</ControlsContainer>
);
}

This file was deleted.

3 changes: 1 addition & 2 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -3873,7 +3873,6 @@
"xpack.apm.serviceDetails.metricsTabLabel": "メトリック",
"xpack.apm.serviceDetails.nodesTabLabel": "JVM",
"xpack.apm.serviceDetails.transactionsTabLabel": "トランザクション",
"xpack.apm.serviceMap.fullscreen": "全画面",
"xpack.apm.serviceMap.zoomIn": "ズームイン",
"xpack.apm.serviceMap.zoomOut": "ズームアウト",
"xpack.apm.serviceNodeMetrics.containerId": "コンテナー ID",
Expand Down Expand Up @@ -13198,4 +13197,4 @@
"xpack.watcher.watchEdit.thresholdWatchExpression.aggType.fieldIsRequiredValidationMessage": "フィールドを選択してください。",
"xpack.watcher.watcherDescription": "アラートの作成、管理、監視によりデータへの変更を検知します。"
}
}
}
3 changes: 1 addition & 2 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -3873,7 +3873,6 @@
"xpack.apm.serviceDetails.metricsTabLabel": "指标",
"xpack.apm.serviceDetails.nodesTabLabel": "JVM",
"xpack.apm.serviceDetails.transactionsTabLabel": "事务",
"xpack.apm.serviceMap.fullscreen": "全屏",
"xpack.apm.serviceMap.zoomIn": "放大",
"xpack.apm.serviceMap.zoomOut": "缩小",
"xpack.apm.serviceNodeMetrics.containerId": "容器 ID",
Expand Down Expand Up @@ -13197,4 +13196,4 @@
"xpack.watcher.watchEdit.thresholdWatchExpression.aggType.fieldIsRequiredValidationMessage": "此字段必填。",
"xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。"
}
}
}

0 comments on commit 900af82

Please sign in to comment.