[Table Visualization] (Step 2) Shim new platform - renaming table_vis -> vis_type_table (#41872)

* [Table Visualization] (Step 2) Shim new platform - renaming table_vis -> vis_type_table

* fix PR comment
This commit is contained in:
Alexey Antonov 2019-07-26 23:01:29 +03:00 committed by GitHub
parent 9885200c3e
commit 9dbb00e9a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 59 additions and 59 deletions

View file

@ -17,7 +17,7 @@
"visTypeMarkdown": "src/legacy/core_plugins/vis_type_markdown",
"metricVis": "src/legacy/core_plugins/metric_vis",
"visTypeVega": "src/legacy/core_plugins/vis_type_vega",
"tableVis": "src/legacy/core_plugins/table_vis",
"visTypeTable": "src/legacy/core_plugins/vis_type_table",
"regionMap": "src/legacy/core_plugins/region_map",
"statusPage": "src/legacy/core_plugins/status_page",
"tileMap": "src/legacy/core_plugins/tile_map",

View file

@ -12,19 +12,19 @@
<div class="kbnAggTable__controls">
<small
i18n-id="tableVis.aggTable.exportLabel"
i18n-id="visTypeTable.aggTable.exportLabel"
i18n-default-message="Export:"
></small>&nbsp;&nbsp;
<a class="small" ng-click="aggTable.exportAsCsv(false)">
<span
i18n-id="tableVis.aggTable.rawLabel"
i18n-id="visTypeTable.aggTable.rawLabel"
i18n-default-message="Raw"
></span>
<i aria-hidden="true" class="fa fa-download"></i>
</a>&nbsp;&nbsp;&nbsp;
<a class="small" ng-click="aggTable.exportAsCsv(true)">
<span
i18n-id="tableVis.aggTable.formattedLabel"
i18n-id="visTypeTable.aggTable.formattedLabel"
i18n-default-message="Formatted"
></span>
<i aria-hidden="true" class="fa fa-download"></i>

View file

@ -240,7 +240,7 @@ function addPercentageCol(columns, title, rows, insertAtIndex) {
const { id, sumTotal } = columns[insertAtIndex];
const newId = `${id}-percents`;
const formatter = getFormat({ id: 'percent' });
const i18nTitle = i18n.translate('tableVis.params.percentageTableColumnName', {
const i18nTitle = i18n.translate('visTypeTable.params.percentageTableColumnName', {
defaultMessage: '{title} percentages',
values: { title },
});

View file

@ -8,14 +8,14 @@
data-test-subj="filterForCellValue"
ng-click="onFilterClick($event, false)"
class="fa fa-search-plus"
tooltip="{{ ::'tableVis.directives.tableCellFilter.filterForValueTooltip' | i18n: {defaultMessage: 'Filter for value'} }}"
tooltip="{{ ::'visTypeTable.directives.tableCellFilter.filterForValueTooltip' | i18n: {defaultMessage: 'Filter for value'} }}"
tooltip-append-to-body="1"
></span>
<span
ng-click="onFilterClick($event, true)"
class="fa fa-search-minus"
tooltip="{{ ::'tableVis.directives.tableCellFilter.filterOutValueTooltip' | i18n: {defaultMessage: 'Filter out value'} }}"
tooltip="{{ ::'visTypeTable.directives.tableCellFilter.filterOutValueTooltip' | i18n: {defaultMessage: 'Filter out value'} }}"
tooltip-append-to-body="1"
></span>
</span>

View file

@ -7,7 +7,7 @@
<br>
<p
i18n-id="tableVis.vis.noResultsFoundTitle"
i18n-id="visTypeTable.vis.noResultsFoundTitle"
i18n-default-message="No results found">
</p>
</div>

View file

@ -28,7 +28,7 @@ export const createTableVisFn = (dependencies) => ({
'kibana_datatable'
],
},
help: i18n.translate('tableVis.function.help', {
help: i18n.translate('visTypeTable.function.help', {
defaultMessage: 'Table visualization'
}),
args: {

View file

@ -1,7 +1,7 @@
<div class="visEditorSidebar__section">
<div class="visEditorSidebar__sectionTitle">
<div
i18n-id="tableVis.params.showMetricsLabel.optionsTitle"
i18n-id="visTypeTable.params.showMetricsLabel.optionsTitle"
i18n-default-message="Options"
></div>
</div>
@ -9,7 +9,7 @@
<label
class="visEditorSidebar__formLabel"
for="datatableVisualizationPerPage"
i18n-id="tableVis.params.perPageLabel"
i18n-id="visTypeTable.params.perPageLabel"
i18n-default-message="Per Page"
></label>
<div class="visEditorSidebar__formControl">
@ -25,7 +25,7 @@
<label
class="visEditorSidebar__formLabel"
for="showMetricsAtAllLevelsCheckbox"
i18n-id="tableVis.params.showMetricsLabel"
i18n-id="visTypeTable.params.showMetricsLabel"
i18n-default-message="Show metrics for every bucket/level"
></label>
<div class="visEditorSidebar__formControl">
@ -42,12 +42,12 @@
<div class="visEditorSidebar__formLabel">
<label
for="showPartialRowsCheckbox"
i18n-id="tableVis.params.showPartialRowsLabel"
i18n-id="visTypeTable.params.showPartialRowsLabel"
i18n-default-message="Show partial rows"
>
</label>
<icon-tip
content="::'tableVis.params.showPartialRowsTip' | i18n: {
content="::'visTypeTable.params.showPartialRowsTip' | i18n: {
defaultMessage: 'Show rows that have partial data. This will still calculate metrics for every bucket/level, even if they are not displayed.'
}"
></icon-tip>
@ -66,7 +66,7 @@
<label
class="visEditorSidebar__formLabel"
for="showTotalCheckbox"
i18n-id="tableVis.params.showTotalLabel"
i18n-id="visTypeTable.params.showTotalLabel"
i18n-default-message="Show total"
></label>
<div class="visEditorSidebar__formControl">
@ -82,7 +82,7 @@
<label
class="visEditorSidebar__formLabel"
for="datatableVisualizationTotalFunction"
i18n-id="tableVis.params.totalFunctionLabel"
i18n-id="visTypeTable.params.totalFunctionLabel"
i18n-default-message="Total function"
></label>
<div class="visEditorSidebar__formControl">
@ -99,7 +99,7 @@
<label
class="visEditorSidebar__formLabel"
for="datatableVisualizationPercentageCol"
i18n-id="tableVis.params.PercentageColLabel"
i18n-id="visTypeTable.params.PercentageColLabel"
i18n-default-message="Percentage column"
></label>
<div class="visEditorSidebar__formControl">

View file

@ -29,7 +29,7 @@ export function TableVisParams() {
link: function ($scope) {
const noCol = {
value: '',
name: i18n.translate('tableVis.params.defaultPercetangeCol', {
name: i18n.translate('visTypeTable.params.defaultPercetangeCol', {
defaultMessage: 'Dont show',
})
};

View file

@ -29,11 +29,11 @@ export const createTableVisTypeDefinition = (dependencies) => {
return dependencies.createAngularVisualization({
type: 'table',
name: 'table',
title: i18n.translate('tableVis.tableVisTitle', {
title: i18n.translate('visTypeTable.tableVisTitle', {
defaultMessage: 'Data Table',
}),
icon: 'visTable',
description: i18n.translate('tableVis.tableVisDescription', {
description: i18n.translate('visTypeTable.tableVisDescription', {
defaultMessage: 'Display values in a table',
}),
visConfig: {
@ -57,7 +57,7 @@ export const createTableVisTypeDefinition = (dependencies) => {
{
group: 'metrics',
name: 'metric',
title: i18n.translate('tableVis.tableVisEditorConfig.schemas.metricTitle', {
title: i18n.translate('visTypeTable.tableVisEditorConfig.schemas.metricTitle', {
defaultMessage: 'Metric',
}),
aggFilter: ['!geo_centroid', '!geo_bounds'],
@ -74,7 +74,7 @@ export const createTableVisTypeDefinition = (dependencies) => {
{
group: 'buckets',
name: 'bucket',
title: i18n.translate('tableVis.tableVisEditorConfig.schemas.bucketTitle', {
title: i18n.translate('visTypeTable.tableVisEditorConfig.schemas.bucketTitle', {
defaultMessage: 'Split rows',
}),
aggFilter: ['!filter']
@ -82,7 +82,7 @@ export const createTableVisTypeDefinition = (dependencies) => {
{
group: 'buckets',
name: 'split',
title: i18n.translate('tableVis.tableVisEditorConfig.schemas.splitTitle', {
title: i18n.translate('visTypeTable.tableVisEditorConfig.schemas.splitTitle', {
defaultMessage: 'Split table',
}),
min: 0,

View file

@ -2750,24 +2750,24 @@
"statusPage.statusApp.statusTitle": "プラグインステータス",
"statusPage.statusTable.columns.idHeader": "ID",
"statusPage.statusTable.columns.statusHeader": "ステータス",
"tableVis.aggTable.exportLabel": "エクスポート:",
"tableVis.aggTable.formattedLabel": "フォーマット済み",
"tableVis.aggTable.rawLabel": "生",
"tableVis.directives.tableCellFilter.filterForValueTooltip": "値でフィルターします",
"tableVis.directives.tableCellFilter.filterOutValueTooltip": "値を除外します",
"tableVis.function.help": "表ビジュアライゼーション",
"tableVis.params.perPageLabel": "1 ページあたり",
"tableVis.params.showMetricsLabel": "すべてのバケット/レベルのメトリックを表示",
"tableVis.params.showPartialRowsLabel": "部分的な行を表示",
"tableVis.params.showPartialRowsTip": "部分データのある行を表示。表示されていなくてもすべてのバケット/レベルのメトリックが計算されます。",
"tableVis.params.showTotalLabel": "合計を表示",
"tableVis.params.totalFunctionLabel": "合計機能",
"tableVis.tableVisDescription": "テーブルに値を表示します。",
"tableVis.tableVisEditorConfig.schemas.bucketTitle": "行を分割",
"tableVis.tableVisEditorConfig.schemas.metricTitle": "メトリック",
"tableVis.tableVisEditorConfig.schemas.splitTitle": "テーブルを分割",
"tableVis.tableVisTitle": "データテーブル",
"tableVis.vis.noResultsFoundTitle": "結果が見つかりませんでした",
"visTypeTable.aggTable.exportLabel": "エクスポート:",
"visTypeTable.aggTable.formattedLabel": "フォーマット済み",
"visTypeTable.aggTable.rawLabel": "生",
"visTypeTable.directives.tableCellFilter.filterForValueTooltip": "値でフィルターします",
"visTypeTable.directives.tableCellFilter.filterOutValueTooltip": "値を除外します",
"visTypeTable.function.help": "表ビジュアライゼーション",
"visTypeTable.params.perPageLabel": "1 ページあたり",
"visTypeTable.params.showMetricsLabel": "すべてのバケット/レベルのメトリックを表示",
"visTypeTable.params.showPartialRowsLabel": "部分的な行を表示",
"visTypeTable.params.showPartialRowsTip": "部分データのある行を表示。表示されていなくてもすべてのバケット/レベルのメトリックが計算されます。",
"visTypeTable.params.showTotalLabel": "合計を表示",
"visTypeTable.params.totalFunctionLabel": "合計機能",
"visTypeTable.tableVisDescription": "テーブルに値を表示します。",
"visTypeTable.tableVisEditorConfig.schemas.bucketTitle": "行を分割",
"visTypeTable.tableVisEditorConfig.schemas.metricTitle": "メトリック",
"visTypeTable.tableVisEditorConfig.schemas.splitTitle": "テーブルを分割",
"visTypeTable.tableVisTitle": "データテーブル",
"visTypeTable.vis.noResultsFoundTitle": "結果が見つかりませんでした",
"tagCloud.feedbackMessage.tooSmallContainerDescription": "コンテナーが小さすぎてクラウド全体を表示できません。タグが切り取られたか省略されている可能性があります。",
"tagCloud.feedbackMessage.truncatedTagsDescription": "描写時間が長くなるのを防ぐため、タグの数が切り捨てられています。",
"tagCloud.function.bucket.help": "バケットディメンションの構成です。",

View file

@ -2750,24 +2750,24 @@
"statusPage.statusApp.statusTitle": "插件状态",
"statusPage.statusTable.columns.idHeader": "ID",
"statusPage.statusTable.columns.statusHeader": "状态",
"tableVis.aggTable.exportLabel": "导出:",
"tableVis.aggTable.formattedLabel": "格式化",
"tableVis.aggTable.rawLabel": "原始",
"tableVis.directives.tableCellFilter.filterForValueTooltip": "筛留值",
"tableVis.directives.tableCellFilter.filterOutValueTooltip": "筛除值",
"tableVis.function.help": "表可视化",
"tableVis.params.perPageLabel": "每页",
"tableVis.params.showMetricsLabel": "显示每个桶/级别的指标",
"tableVis.params.showPartialRowsLabel": "显示部分行",
"tableVis.params.showPartialRowsTip": "显示具有部分数据的行这仍将计算每个桶/级别的指标,即使它们未显示。",
"tableVis.params.showTotalLabel": "显示汇总",
"tableVis.params.totalFunctionLabel": "汇总函数",
"tableVis.tableVisDescription": "在表中显示值",
"tableVis.tableVisEditorConfig.schemas.bucketTitle": "拆分行",
"tableVis.tableVisEditorConfig.schemas.metricTitle": "指标",
"tableVis.tableVisEditorConfig.schemas.splitTitle": "拆分表",
"tableVis.tableVisTitle": "数据表",
"tableVis.vis.noResultsFoundTitle": "找不到结果",
"visTypeTable.aggTable.exportLabel": "导出:",
"visTypeTable.aggTable.formattedLabel": "格式化",
"visTypeTable.aggTable.rawLabel": "原始",
"visTypeTable.directives.tableCellFilter.filterForValueTooltip": "筛留值",
"visTypeTable.directives.tableCellFilter.filterOutValueTooltip": "筛除值",
"visTypeTable.function.help": "表可视化",
"visTypeTable.params.perPageLabel": "每页",
"visTypeTable.params.showMetricsLabel": "显示每个桶/级别的指标",
"visTypeTable.params.showPartialRowsLabel": "显示部分行",
"visTypeTable.params.showPartialRowsTip": "显示具有部分数据的行这仍将计算每个桶/级别的指标,即使它们未显示。",
"visTypeTable.params.showTotalLabel": "显示汇总",
"visTypeTable.params.totalFunctionLabel": "汇总函数",
"visTypeTable.tableVisDescription": "在表中显示值",
"visTypeTable.tableVisEditorConfig.schemas.bucketTitle": "拆分行",
"visTypeTable.tableVisEditorConfig.schemas.metricTitle": "指标",
"visTypeTable.tableVisEditorConfig.schemas.splitTitle": "拆分表",
"visTypeTable.tableVisTitle": "数据表",
"visTypeTable.vis.noResultsFoundTitle": "找不到结果",
"tagCloud.feedbackMessage.tooSmallContainerDescription": "容器太小,无法显示整个云。标记可能被裁剪或省略。",
"tagCloud.feedbackMessage.truncatedTagsDescription": "标记数量已截断,以避免绘制时间过长。",
"tagCloud.function.bucket.help": "存储桶维度配置",