Skip to content

Commit

Permalink
[FEATURE] Create detector \ Refactor and move field mapping to first …
Browse files Browse the repository at this point in the history
…the page of create detector feature opensearch-project#495

Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com>
  • Loading branch information
jovancacvetkovic committed Apr 4, 2023
1 parent 01ebf2d commit 03a33b9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 155 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1170,147 +1170,6 @@ exports[`<UpdateDetectorBasicDetails /> spec renders the component 1`] = `
}
}
>
<EuiFormRow
describedByIds={Array []}
display="row"
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
label={
<FormFieldHeader
headerTitle="Frequency"
/>
}
labelType="label"
>
<div
className="euiFormRow"
id="some_html_id-row"
>
<div
className="euiFormRow__labelWrapper"
>
<EuiFormLabel
className="euiFormRow__label"
htmlFor="some_html_id"
isFocused={false}
type="label"
>
<label
className="euiFormLabel euiFormRow__label"
htmlFor="some_html_id"
>
<FormFieldHeader
headerTitle="Frequency"
>
<EuiText
size="s"
>
<div
className="euiText euiText--small"
>
<strong>
Frequency
</strong>
</div>
</EuiText>
</FormFieldHeader>
</label>
</EuiFormLabel>
</div>
<div
className="euiFormRow__fieldWrapper"
>
<EuiSelect
id="some_html_id"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
options={
Array [
Object {
"text": "By interval",
"value": "interval",
},
]
}
value="interval"
>
<EuiFormControlLayout
compressed={false}
fullWidth={false}
icon={
Object {
"side": "right",
"type": "arrowDown",
}
}
inputId="some_html_id"
isLoading={false}
>
<div
className="euiFormControlLayout"
>
<div
className="euiFormControlLayout__childrenWrapper"
>
<EuiValidatableControl>
<select
className="euiSelect"
id="some_html_id"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onMouseUp={[Function]}
value="interval"
>
<option
key="0"
value="interval"
>
By interval
</option>
</select>
</EuiValidatableControl>
<EuiFormControlLayoutIcons
compressed={false}
icon={
Object {
"side": "right",
"type": "arrowDown",
}
}
isLoading={false}
>
<div
className="euiFormControlLayoutIcons euiFormControlLayoutIcons--right"
>
<EuiFormControlLayoutCustomIcon
size="m"
type="arrowDown"
>
<span
className="euiFormControlLayoutCustomIcon"
>
<EuiIcon
aria-hidden="true"
className="euiFormControlLayoutCustomIcon__icon"
size="m"
type="arrowDown"
>
EuiIconMock
</EuiIcon>
</span>
</EuiFormControlLayoutCustomIcon>
</div>
</EuiFormControlLayoutIcons>
</div>
</div>
</EuiFormControlLayout>
</EuiSelect>
</div>
</div>
</EuiFormRow>
<Interval
detector={
Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2266,13 +2266,6 @@ exports[`<DetectorDetails /> spec renders the component 1`] = `
</EuiPanel>
</ContentPanel>
</DetectorBasicDetailsView>
<EuiSpacer
size="xxl"
>
<div
className="euiSpacer euiSpacer--xxl"
/>
</EuiSpacer>
<DetectorRulesView
detector={
Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1324,13 +1324,6 @@ exports[`<DetectorDetailsView /> spec renders the component 1`] = `
</EuiPanel>
</ContentPanel>
</DetectorBasicDetailsView>
<EuiSpacer
size="xxl"
>
<div
className="euiSpacer euiSpacer--xxl"
/>
</EuiSpacer>
<DetectorRulesView
detector={
Object {
Expand Down

0 comments on commit 03a33b9

Please sign in to comment.