Skip to content

Commit

Permalink
Removed dead code (#42774)
Browse files Browse the repository at this point in the history
* Removed dead code

* Fixed i18n messages

* Removed unused
  • Loading branch information
igoristic authored Aug 12, 2019
1 parent 142897f commit ce5d7fb
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 753 deletions.
12 changes: 0 additions & 12 deletions x-pack/legacy/plugins/monitoring/common/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import { i18n } from '@kbn/i18n';

/**
* Helper string to add as a tag in every logging call
*/
Expand Down Expand Up @@ -133,16 +131,6 @@ export const LOGSTASH = {
}
};

export const DEFAULT_NO_DATA_MESSAGE = i18n.translate('xpack.monitoring.defaultNoDataMessage', {
defaultMessage: 'There are no records that match your query. Try changing the time range selection.' });
export const DEFAULT_NO_DATA_MESSAGE_WITH_FILTER = i18n.translate('xpack.monitoring.defaultNoDataWithFilterMessage', {
defaultMessage:
'There are no records that match your query with the filter [{filter}]. Try changing the filter or the time range selection.',
values: { filter: '{{FILTER}}' } });

export const TABLE_ACTION_UPDATE_FILTER = 'UPDATE_FILTER';
export const TABLE_ACTION_RESET_PAGING = 'RESET_PAGING';

export const DEBOUNCE_SLOW_MS = 17; // roughly how long it takes to render a frame at 60fps
export const DEBOUNCE_FAST_MS = 10; // roughly how long it takes to render a frame at 100fps

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
* The .monitoringTable class is on the KuiControlledTable instance.
* The table within it requires the shrinkToContent flag as well as width set to 100%
*/
.monTable .kuiTable {
width: 100%;
}

.monTableCell__clusterCellExpired,
.monTableCell__offline {
Expand All @@ -21,8 +18,7 @@
}

.monTableCell__name,
.monTableCell__status,
.monTableCell__version {
.monTableCell__status {
@include euiFontSizeM;
}

Expand All @@ -43,22 +39,3 @@
.monTableCell__splitNumber {
@include euiFontSizeM;
}

.monTableCell__metricCellMetric {
display: inline-block;
@include euiFontSizeXL;
}

.monTableCell__metricCellSlopeArrow {
display: inline-block;
margin-left: $euiSizeXS;
@include euiFontSizeXL;
}

.monTableCell__metricCellMixMax {
display: inline-block;
text-align: right;
margin-left: $euiSizeXS;
color: $euiColorDarkShade;
@include euiFontSizeS;
}
35 changes: 0 additions & 35 deletions x-pack/legacy/plugins/monitoring/public/components/table/footer.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
* you may not use this file except in compliance with the Elastic License.
*/

export { MonitoringTable } from './table';
export { EuiMonitoringTable } from './eui_table';
export { tableStorageGetter, tableStorageSetter, euiTableStorageGetter, euiTableStorageSetter } from './storage';

This file was deleted.

Loading

0 comments on commit ce5d7fb

Please sign in to comment.