diff --git a/public/components/BottomBar/BottomBar.tsx b/public/components/BottomBar/BottomBar.tsx
index 30945f899..eb710b5d2 100644
--- a/public/components/BottomBar/BottomBar.tsx
+++ b/public/components/BottomBar/BottomBar.tsx
@@ -29,5 +29,9 @@ export default function BottomBar(props: CustomFormRowProps) {
};
}, []);
- return
+ Choose how you would like to {isEdit ? "modify" : "define"} your policy, either using a visual editor or writing JSON. +
+ Choose how you would like to + define + your policy, either using a visual editor or writing JSON. +
spec renders the component w/ edit 1`] = `+ Choose how you would like to + modify + your policy, either using a visual editor or writing JSON. +
- {!linkedIndexItemCount - ? "The following component template will be permanently deleted. This action cannot be undone." - : `The component template ${selectedItems.join( - ", " - )} will be permanently deleted. The component template will be unlinked from ${linkedIndexItemCount} index templates:`} -
++ {!linkedIndexItemCount + ? "The following component template will be permanently deleted. This action cannot be undone." + : `The component template ${selectedItems.join( + ", " + )} will be permanently deleted. The component template will be unlinked from ${linkedIndexItemCount} index templates:`} +
+- The following component template will be permanently deleted. This action cannot be undone. -
++ The following component template will be permanently deleted. This action cannot be undone. +
++ There is a new region landmark with page level controls at the end of the document. +
Policies let you automatically perform administrative operations on indices.
+ Policies let you automatically perform administrative operations on indices. +
+- Policies let you automatically perform administrative operations on indices. -
-
- You can think of policies as state machines. "Actions" are the operations ISM performs when an index is in a certain state.
- "Transitions" define when to move from one state to another.{" "}
-
+ You can think of policies as state machines. "Actions" are the operations ISM performs when an index is in a certain state.
+ "Transitions" define when to move from one state to another.{" "}
+
- You can think of policies as state machines. "Actions" are the operations ISM performs when an index is in a certain state. "Transitions" define when to move from one state to another. - - - Learn more - EuiIconMock - - (opens in a new tab or window) - - -
-+ When you're done, press Escape to stop editing. +
+- Press Enter to start editing. -
-- When you're done, press Escape to stop editing. -
-+ Policies let you automatically perform administrative operations on indices. +
+- Policies let you automatically perform administrative operations on indices. -
-+ Policies let you automatically perform administrative operations on indices. +
+- Policies let you automatically perform administrative operations on indices. -
-{getMessagePrompt(props)}
There are no existing policies. Create a policy to apply to your indices.
@@ -30,6 +30,7 @@ exports[`
Loading policies...
diff --git a/public/pages/PolicyDetails/components/DeleteModal/DeleteModal.tsx b/public/pages/PolicyDetails/components/DeleteModal/DeleteModal.tsx
index 26574fb9d..976ac9632 100644
--- a/public/pages/PolicyDetails/components/DeleteModal/DeleteModal.tsx
+++ b/public/pages/PolicyDetails/components/DeleteModal/DeleteModal.tsx
@@ -4,7 +4,7 @@
*/
import React, { ChangeEvent, Component, Fragment } from "react";
-import { EuiConfirmModal, EuiForm, EuiCompressedFormRow, EuiCompressedFieldText, EuiOverlayMask, EuiSpacer } from "@elastic/eui";
+import { EuiConfirmModal, EuiForm, EuiCompressedFormRow, EuiCompressedFieldText, EuiOverlayMask, EuiSpacer, EuiText } from "@elastic/eui";
interface DeleteModalProps {
policyId: string;
@@ -30,7 +30,11 @@ export default class DeleteModal extends ComponentDelete policy
+
+ }
onCancel={closeDeleteModal}
onConfirm={onClickDelete}
cancelButtonText="Cancel"
diff --git a/public/pages/PolicyDetails/components/DeleteModal/__snapshots__/DeleteModal.test.tsx.snap b/public/pages/PolicyDetails/components/DeleteModal/__snapshots__/DeleteModal.test.tsx.snap
index 3b72dd09a..166a359ab 100644
--- a/public/pages/PolicyDetails/components/DeleteModal/__snapshots__/DeleteModal.test.tsx.snap
+++ b/public/pages/PolicyDetails/components/DeleteModal/__snapshots__/DeleteModal.test.tsx.snap
@@ -47,7 +47,13 @@ exports[`
+ Delete policy
+
+
- -
++ +
++ {" "} + {/* Keep the
tag even if no helpText to remove last child styling on h tags */} + {helpText && ( + + {helpText} {learnMore} - - ) : null} - -
- {" "} - {/* Keep the
tag even if no helpText to remove last child styling on h tags */} - {helpText && ( - - {helpText} {learnMore} - - )} -
-- - - Some helpful text + Some title + +
- -
+ + Some helpful text + + + +
- Specify ISM template patterns that match the index to apply the policy.{" "}
-
+ Specify ISM template patterns that match the index to apply the policy.{" "}
+
- Specify ISM template patterns that match the index to apply the policy. - - - Learn more - EuiIconMock - - (opens in a new tab or window) - - -
+ + – optional ++ Specify ISM template patterns that match the index to apply the policy. + + + Learn more + EuiIconMock + + (opens in a new tab or window) + + +
+- Your policy currently has no ISM templates defined. Add ISM templates to automatically apply the policy to indices created in the future. -
-+ Your policy currently has no ISM templates defined. Add ISM templates to automatically apply the policy to indices created in the future. +
+
+
+
- Policy ID
-
-
+ Specify a unique and descriptive ID that is easy to recognize and remember.
-
- Specify a unique and descriptive ID that is easy to recognize and remember.
-
-
-
+
+
- Description
-
-
+ Describe the policy.
-
- Describe the policy.
-
-
-
- You can think of policies as state machines. "Actions" are the operations ISM performs when an index is in a certain state.
-
- "Transitions" define when to move from one state to another.{" "}
-
+ You can think of policies as state machines. "Actions" are the operations ISM performs when an index is in a certain state.
+
+ "Transitions" define when to move from one state to another.{" "}
+
Your policy currently has no states defined. Add states to manage your index lifecycle.
} actions={ @@ -116,7 +112,7 @@ const States = ({ /> ))}-
- You can think of policies as state machines. "Actions" are the operations ISM performs when an index is in a certain state.
-
- "Transitions" define when to move from one state to another.
-
-
- Learn more
- EuiIconMock
-
- (opens in a new tab or window)
-
-
-
- Actions - - - 1 - -
- -+ Actions + + + 1 + +
+- Transitions - - - 1 - -
- -+ Transitions + + + 1 + +
+- Actions - - - 1 - -
- -+ Actions + + + 1 + +
+- - - The timeout period for the action. Accepts time units, e.g. "5h" or "1d". + Timeout + +
- -
+ + The timeout period for the action. Accepts time units, e.g. "5h" or "1d". + + + +- - - The number of times the action should be retried if it fails. Must be greater than 0. + Retry count + +
- -
+ + The number of times the action should be retried if it fails. Must be greater than 0. + + + +- - - The backoff policy type to use when retrying. + Retry backoff + +
- -
+ + The backoff policy type to use when retrying. + + + +- - - The time to wait between retries. Accepts time units, e.g. "2h" or "1d" + Retry delay + +
- -
+ + The time to wait between retries. Accepts time units, e.g. "2h" or "1d" + + + +- - - Specify the condition needed to be met to transition to the destination state. + Condition + +
- -
+ + Specify the condition needed to be met to transition to the destination state. + + + +- - - Select the action you want to add to this state. + Action type + +
- -
+ + Select the action you want to add to this state. + + + +- - - The minimum age required to roll over the index. Accepts time units, e.g. "5h" or "1d". + Minimum index age + +
- -
+ + The minimum age required to roll over the index. Accepts time units, e.g. "5h" or "1d". + + + +- - - The minimum number of documents required to roll over the index. + Minimum doc count + +
- -
+ + The minimum number of documents required to roll over the index. + + + +- - - The minimum size of the total primary shard storage required to roll over the index. Accepts byte units, e.g. "500mb" or "50gb". + Minimum index size + +
- -
+ + The minimum size of the total primary shard storage required to roll over the index. Accepts byte units, e.g. "500mb" or "50gb". + + + +- - - The minimum size of a single primary shard required to roll over the index. Accepts byte units, e.g. "500mb" or "50gb". + Minimum primary shard size + +
- -
+ + The minimum size of a single primary shard required to roll over the index. Accepts byte units, e.g. "500mb" or "50gb". + + + +- - - The timeout period for the action. Accepts time units, e.g. "5h" or "1d". + Timeout + +
- -
+ + The timeout period for the action. Accepts time units, e.g. "5h" or "1d". + + + +- - - The number of times the action should be retried if it fails. Must be greater than 0. + Retry count + +
- -
+ + The number of times the action should be retried if it fails. Must be greater than 0. + + + +- - - The backoff policy type to use when retrying. + Retry backoff + +
- -
+ + The backoff policy type to use when retrying. + + + +- - - The time to wait between retries. Accepts time units, e.g. "2h" or "1d" + Retry delay + +
- -
+ + The time to wait between retries. Accepts time units, e.g. "2h" or "1d" + + + +- - - Actions are the operations ISM performs when an index is in a certain state. + Actions + +
- -
+ + Actions are the operations ISM performs when an index is in a certain state. + + + +- - - Transitions define the conditions that need to be met for a state to change. After all actions in the current state are completed, the policy starts checking the conditions for transitions. + Transitions + +
- -
+ + Transitions define the conditions that need to be met for a state to change. After all actions in the current state are completed, the policy starts checking the conditions for transitions. + + + +- - - If entering a state that does not exist yet then you must create it before creating the policy. + Destination state + +
- -
+ + If entering a state that does not exist yet then you must create it before creating the policy. + + + +- - - Specify the condition needed to be met to transition to the destination state. + Condition + +
- -
+ + Specify the condition needed to be met to transition to the destination state. + + + +- - - The minimum age required to transition to the next state. + Minimum index age + +
- -
+ + The minimum age required to transition to the next state. + + + +
- You can set up an error notification for when a policy execution fails.{" "}
-
+ You can set up an error notification for when a policy execution fails.{" "}
+
- You can set up an error notification for when a policy execution fails. - - - Learn more - EuiIconMock - - (opens in a new tab or window) - - -
+ + – optional ++ You can set up an error notification for when a policy execution fails. + + + Learn more + EuiIconMock + + (opens in a new tab or window) + + +
+
Embed variables in your message using Mustache template.
Policies let you automatically perform administrative operations on indices.{" "}
@@ -345,10 +361,9 @@ export class VisualCreatePolicy extends Component