diff --git a/public/pages/DetectorJobs/containers/__tests__/__snapshots__/DetectorJobs.test.tsx.snap b/public/pages/DetectorJobs/containers/__tests__/__snapshots__/DetectorJobs.test.tsx.snap
index 89274801..828260e1 100644
--- a/public/pages/DetectorJobs/containers/__tests__/__snapshots__/DetectorJobs.test.tsx.snap
+++ b/public/pages/DetectorJobs/containers/__tests__/__snapshots__/DetectorJobs.test.tsx.snap
@@ -107,7 +107,7 @@ exports[`
spec configuring detector jobs renders the component 1
class="euiFlexItem"
>
spec configuring detector jobs renders the component 1
class="euiFlexItem"
>
}
actions={[
-
View detector configuration
- ,
+ ,
]}
/>
);
diff --git a/public/pages/DetectorResults/components/DetectorState/DetectorStopped.tsx b/public/pages/DetectorResults/components/DetectorState/DetectorStopped.tsx
index d829b396..84e546aa 100644
--- a/public/pages/DetectorResults/components/DetectorState/DetectorStopped.tsx
+++ b/public/pages/DetectorResults/components/DetectorState/DetectorStopped.tsx
@@ -10,7 +10,7 @@
*/
import React from 'react';
-import { EuiButton, EuiEmptyPrompt } from '@elastic/eui';
+import { EuiSmallButton, EuiEmptyPrompt } from '@elastic/eui';
import { Fragment } from 'react';
export interface DetectorStoppedProps {
@@ -28,13 +28,13 @@ export const DetectorStopped = (props: DetectorStoppedProps) => {
}
actions={[
-
Start detector
- ,
+ ,
]}
/>
);
diff --git a/public/pages/DetectorResults/components/DetectorState/DetectorUnknownState.tsx b/public/pages/DetectorResults/components/DetectorState/DetectorUnknownState.tsx
index 5ef53cfe..d7477462 100644
--- a/public/pages/DetectorResults/components/DetectorState/DetectorUnknownState.tsx
+++ b/public/pages/DetectorResults/components/DetectorState/DetectorUnknownState.tsx
@@ -10,7 +10,7 @@
*/
import React from 'react';
-import { EuiButton, EuiEmptyPrompt, EuiIcon } from '@elastic/eui';
+import { EuiSmallButton, EuiEmptyPrompt, EuiIcon } from '@elastic/eui';
import { Fragment } from 'react';
import { DETECTOR_INIT_FAILURES } from '../../../DetectorDetail/utils/constants';
@@ -36,17 +36,17 @@ export const DetectorUnknownState = (props: DetectorUnknownStateProps) => {
}
actions={[
-
View detector configuration
- ,
-
+ ,
+
Restart detector
- ,
+ ,
]}
/>
);
diff --git a/public/pages/DetectorResults/containers/AnomalyResults.tsx b/public/pages/DetectorResults/containers/AnomalyResults.tsx
index 366573b6..dfc3d481 100644
--- a/public/pages/DetectorResults/containers/AnomalyResults.tsx
+++ b/public/pages/DetectorResults/containers/AnomalyResults.tsx
@@ -16,7 +16,7 @@ import {
EuiPageBody,
EuiSpacer,
EuiCallOut,
- EuiButton,
+ EuiSmallButton,
EuiProgress,
EuiFlexGroup,
EuiFlexItem,
@@ -504,7 +504,7 @@ export function AnomalyResults(props: AnomalyResultsProps) {
) : null}
-
View detector configuration
-
+
{isDetectorUpdated || isDetectorFailed ? (
-
Restart detector
-
+
) : null}
) : null}
@@ -558,7 +558,7 @@ export function AnomalyResults(props: AnomalyResultsProps) {
-
+
) : null}
diff --git a/public/pages/DetectorResults/containers/AnomalyResultsLiveChart.tsx b/public/pages/DetectorResults/containers/AnomalyResultsLiveChart.tsx
index 8d9449f2..195e10cc 100644
--- a/public/pages/DetectorResults/containers/AnomalyResultsLiveChart.tsx
+++ b/public/pages/DetectorResults/containers/AnomalyResultsLiveChart.tsx
@@ -15,7 +15,7 @@ import {
EuiFlexGroup,
EuiText,
EuiBadge,
- EuiButton,
+ EuiSmallButton,
EuiTitle,
EuiCallOut,
EuiStat,
@@ -213,14 +213,14 @@ export const AnomalyResultsLiveChart = (
);
const fullScreenButton = () => (
-
setIsFullScreen((isFullScreen) => !isFullScreen)}
iconType={isFullScreen ? 'exit' : 'fullScreen'}
aria-label="View full screen"
data-test-subj="anomalyResultsFullScreenButton"
>
{isFullScreen ? 'Exit full screen' : 'View full screen'}
-
+
);
const customAnomalyTooltip = (details?: string) => {
diff --git a/public/pages/DetectorsList/components/EmptyMessage/EmptyMessage.tsx b/public/pages/DetectorsList/components/EmptyMessage/EmptyMessage.tsx
index a911e4c2..d7bac74e 100644
--- a/public/pages/DetectorsList/components/EmptyMessage/EmptyMessage.tsx
+++ b/public/pages/DetectorsList/components/EmptyMessage/EmptyMessage.tsx
@@ -9,7 +9,7 @@
* GitHub history for details.
*/
-import { EuiButton, EuiEmptyPrompt, EuiText } from '@elastic/eui';
+import { EuiSmallButton, EuiEmptyPrompt, EuiText } from '@elastic/eui';
import React from 'react';
import { CreateDetectorButtons } from '../../../../components/CreateDetectorButtons/CreateDetectorButtons';
@@ -36,13 +36,13 @@ export const EmptyDetectorMessage = (props: EmptyDetectorProps) => (
}
actions={
props.isFilterApplied ? (
-
Reset filters
-
+
) : (
)
diff --git a/public/pages/DetectorsList/components/EmptyMessage/__tests__/__snapshots__/EmptyMessage.test.tsx.snap b/public/pages/DetectorsList/components/EmptyMessage/__tests__/__snapshots__/EmptyMessage.test.tsx.snap
index a429c5f9..30dbdf69 100644
--- a/public/pages/DetectorsList/components/EmptyMessage/__tests__/__snapshots__/EmptyMessage.test.tsx.snap
+++ b/public/pages/DetectorsList/components/EmptyMessage/__tests__/__snapshots__/EmptyMessage.test.tsx.snap
@@ -31,7 +31,7 @@ exports[`
spec Empty results renders component with empt
class="euiFlexItem euiFlexItem--flexGrowZero"
>
spec Empty results renders component with empt
class="euiFlexItem euiFlexItem--flexGrowZero"
>
spec Filters results message renders component
class="euiSpacer euiSpacer--l"
/>