Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove tooltip icon on detector list column titles (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohltyler committed May 4, 2020
1 parent 47daf57 commit c619c74
Showing 1 changed file with 1 addition and 39 deletions.
40 changes: 1 addition & 39 deletions public/pages/DetectorsList/utils/tableUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@
* permissions and limitations under the License.
*/

import { EuiIcon, EuiLink, EuiToolTip, EuiHealth } from '@elastic/eui';
import { EuiLink, EuiToolTip, EuiHealth } from '@elastic/eui';
//@ts-ignore
import moment from 'moment';
import get from 'lodash/get';
import React from 'react';
import { Detector } from '../../../models/interfaces';
import { PLUGIN_NAME, DETECTOR_STATE } from '../../../utils/constants';
import { stateToColorMap } from '../../utils/constants';
import { darkModeEnabled } from '../../../utils/kibanaUtils';

export const DEFAULT_EMPTY_DATA = '-';
const hintColor = darkModeEnabled() ? '#98A2B3' : '#535966';
const columnStyle = {
overflow: 'visible',
whiteSpace: 'normal',
Expand Down Expand Up @@ -56,12 +54,6 @@ export const staticColumn = [
<EuiToolTip content="The name of the detector">
<span style={columnStyle}>
Detector{''}
<EuiIcon
size="s"
color={hintColor}
type="questionInCircle"
className="eui-alignTop"
/>
</span>
</EuiToolTip>
),
Expand All @@ -82,12 +74,6 @@ export const staticColumn = [
<EuiToolTip content="The index or index pattern used for the detector">
<span style={columnStyle}>
Indices{''}
<EuiIcon
size="s"
color={hintColor}
type="questionInCircle"
className="eui-alignTop"
/>
</span>
</EuiToolTip>
),
Expand All @@ -104,12 +90,6 @@ export const staticColumn = [
<EuiToolTip content="The current state of the detector">
<span style={columnStyle}>
Detector state{''}
<EuiIcon
size="s"
color={hintColor}
type="questionInCircle"
className="eui-alignTop"
/>
</span>
</EuiToolTip>
),
Expand All @@ -126,12 +106,6 @@ export const staticColumn = [
<EuiToolTip content="Total anomalies with a grade > 0 in last 24 hours">
<span style={columnStyle}>
Anomalies last 24 hours{''}
<EuiIcon
size="s"
color={hintColor}
type="questionInCircle"
className="eui-alignTop"
/>
</span>
</EuiToolTip>
),
Expand All @@ -147,12 +121,6 @@ export const staticColumn = [
<EuiToolTip content="Time of the last active anomaly with a grade > 0">
<span style={columnStyle}>
Last anomaly occurrence{''}
<EuiIcon
size="s"
color={hintColor}
type="questionInCircle"
className="eui-alignTop"
/>
</span>
</EuiToolTip>
),
Expand All @@ -169,12 +137,6 @@ export const staticColumn = [
<EuiToolTip content="The time the detector was last updated">
<span style={columnStyle}>
Last updated{''}
<EuiIcon
size="s"
color={hintColor}
type="questionInCircle"
className="eui-alignTop"
/>
</span>
</EuiToolTip>
),
Expand Down

0 comments on commit c619c74

Please sign in to comment.