Skip to content

Commit

Permalink
remove the caution callout for acc flyout
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
  • Loading branch information
ps48 committed Oct 4, 2023
1 parent 72bec36 commit 940e5e6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 165 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -108,40 +108,6 @@ Array [
<div
class="euiFlyoutBody__overflowContent"
>
<div
class="euiCallOut euiCallOut--warning"
>
<div
class="euiCallOutHeader"
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiIcon--inherit euiIcon-isLoading euiCallOutHeader__icon"
focusable="false"
height="16"
role="img"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
<span
class="euiCallOutHeader__title"
>
Considerations for data indexing
</span>
</div>
<div
class="euiText euiText--small"
>
<div
class="euiTextColor euiTextColor--default"
>
<p>
Warning about not indexing personal or sensitive data, something about the cost of indexing.
</p>
</div>
</div>
</div>
<div
class="euiSpacer euiSpacer--l"
/>
Expand Down Expand Up @@ -608,15 +574,15 @@ Array [
min="1"
placeholder="Number of primary shards"
type="number"
value="5"
value="1"
/>
</div>
</div>
<div
class="euiFormHelpText euiFormRow__text"
id="some_html_id-help-0"
>
Specify the number of primary shards for the index. Default is 5. The number of primary shards cannot be changed after the index is created.
Specify the number of primary shards for the index. Default is 1. The number of primary shards cannot be changed after the index is created.
</div>
</div>
</div>
Expand Down Expand Up @@ -1252,41 +1218,6 @@ Array [
<div
className="euiFlyoutBody__overflowContent"
>
<div
className="euiCallOut euiCallOut--warning"
>
<div
className="euiCallOutHeader"
>
<svg
aria-hidden={true}
className="euiIcon euiIcon--medium euiIcon--inherit euiIcon-isLoading euiCallOutHeader__icon"
focusable="false"
height={16}
role="img"
style={null}
viewBox="0 0 16 16"
width={16}
xmlns="http://www.w3.org/2000/svg"
/>
<span
className="euiCallOutHeader__title"
>
Considerations for data indexing
</span>
</div>
<div
className="euiText euiText--small"
>
<div
className="euiTextColor euiTextColor--default"
>
<p>
Warning about not indexing personal or sensitive data, something about the cost of indexing.
</p>
</div>
</div>
</div>
<div
className="euiSpacer euiSpacer--l"
/>
Expand Down Expand Up @@ -1868,15 +1799,15 @@ Array [
onFocus={[Function]}
placeholder="Number of primary shards"
type="number"
value={5}
value={1}
/>
</div>
</div>
<div
className="euiFormHelpText euiFormRow__text"
id="some_html_id-help-0"
>
Specify the number of primary shards for the index. Default is 5. The number of primary shards cannot be changed after the index is created.
Specify the number of primary shards for the index. Default is 1. The number of primary shards cannot be changed after the index is created.
</div>
</div>
</div>,
Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions public/components/acceleration/create/caution_banner_callout.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions public/components/acceleration/create/create_acceleration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { IndexSettingOptions } from '../selectors/index_setting_options';
import { AccelerationDataSourceSelector } from '../selectors/source_selector';
import { accelerationQueryBuilder } from '../visual_editors/query_builder';
import { QueryVisualEditor } from '../visual_editors/query_visual_editor';
import { CautionBannerCallout } from './caution_banner_callout';
import { CreateAccelerationHeader } from './create_acceleration_header';
import { formValidator, hasError } from './utils';

Expand Down Expand Up @@ -101,7 +100,6 @@ export const CreateAcceleration = ({
<CreateAccelerationHeader />
</EuiFlyoutHeader>
<EuiFlyoutBody>
<CautionBannerCallout />
<EuiSpacer size="l" />
<EuiForm
isInvalid={hasError(accelerationFormData.formErrors)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,15 @@ Array [
onFocus={[Function]}
placeholder="Number of primary shards"
type="number"
value={5}
value={1}
/>
</div>
</div>
<div
className="euiFormHelpText euiFormRow__text"
id="some_html_id-help-0"
>
Specify the number of primary shards for the index. Default is 5. The number of primary shards cannot be changed after the index is created.
Specify the number of primary shards for the index. Default is 1. The number of primary shards cannot be changed after the index is created.
</div>
</div>
</div>,
Expand Down Expand Up @@ -583,15 +583,15 @@ Array [
onFocus={[Function]}
placeholder="Number of primary shards"
type="number"
value={5}
value={1}
/>
</div>
</div>
<div
className="euiFormHelpText euiFormRow__text"
id="some_html_id-help-0"
>
Specify the number of primary shards for the index. Default is 5. The number of primary shards cannot be changed after the index is created.
Specify the number of primary shards for the index. Default is 1. The number of primary shards cannot be changed after the index is created.
</div>
</div>
</div>,
Expand Down Expand Up @@ -970,15 +970,15 @@ Array [
onFocus={[Function]}
placeholder="Number of primary shards"
type="number"
value={5}
value={1}
/>
</div>
</div>
<div
className="euiFormHelpText euiFormRow__text"
id="some_html_id-help-0"
>
Specify the number of primary shards for the index. Default is 5. The number of primary shards cannot be changed after the index is created.
Specify the number of primary shards for the index. Default is 1. The number of primary shards cannot be changed after the index is created.
</div>
</div>
</div>,
Expand Down

0 comments on commit 940e5e6

Please sign in to comment.