diff --git a/public/pages/DetectorConfig/containers/DetectorConfig.tsx b/public/pages/DetectorConfig/containers/DetectorConfig.tsx index b7ad44d2..9dd0962c 100644 --- a/public/pages/DetectorConfig/containers/DetectorConfig.tsx +++ b/public/pages/DetectorConfig/containers/DetectorConfig.tsx @@ -29,23 +29,21 @@ interface DetectorConfigProps extends RouteComponentProps { export const DetectorConfig = (props: DetectorConfigProps) => { return ( -
- - - - - - - - -
+ + + + + + + + ); }; diff --git a/public/pages/DetectorConfig/containers/Features.tsx b/public/pages/DetectorConfig/containers/Features.tsx index 35cd10c8..464a2165 100644 --- a/public/pages/DetectorConfig/containers/Features.tsx +++ b/public/pages/DetectorConfig/containers/Features.tsx @@ -51,7 +51,7 @@ export class Features extends Component { () => false ), sortField: 'name', - sortDirection: 'desc', + sortDirection: 'asc', }; } @@ -175,7 +175,6 @@ export class Features extends Component { const getCellProps = () => { return { - className: 'featureText', textOnly: true, }; }; @@ -187,27 +186,25 @@ export class Features extends Component { title={`Features (${featureNum})`} titleSize="s" subTitle={ - - Specify index fields that you want to find anomalies for by defining - features. A detector can discover anomalies across up to 5 features. - Once you define the features, you can preview your anomalies from a - sample feature output.{' '} - - Learn more   - - + +

+ Specify index fields that you want to find anomalies for by + defining features. A detector can discover anomalies for up to 5 + features. Once you define the features, you can preview your + anomalies from a sample feature output.{' '} + + Learn more   + + +

} actions={[ Edit, ]} - panelStyles={{ - left: '10px', - width: '1120px', - }} > {featureNum == 0 ? ( { title="Detector configuration" titleSize="s" actions={[Edit]} - panelStyles={{ - left: '10px', - width: '1120px', - }} > diff --git a/public/pages/DetectorDetail/containers/__tests__/__snapshots__/DetectorDetail.test.tsx.snap b/public/pages/DetectorDetail/containers/__tests__/__snapshots__/DetectorDetail.test.tsx.snap index 1a05cffd..effaac75 100644 --- a/public/pages/DetectorDetail/containers/__tests__/__snapshots__/DetectorDetail.test.tsx.snap +++ b/public/pages/DetectorDetail/containers/__tests__/__snapshots__/DetectorDetail.test.tsx.snap @@ -159,6 +159,17 @@ exports[` spec detector detail renders detector detail compone -
+
+
+
+
+
`;