From c395303c2d9451197390579f216a7a6adb517e28 Mon Sep 17 00:00:00 2001 From: phestecAMZN <111526961+phestecAMZN@users.noreply.github.com> Date: Mon, 3 Oct 2022 11:46:22 -0700 Subject: [PATCH] Add rel to link for external links, IM dashboards plugin (#261) * Change alignment of Snapshot Management panels in pages/Main/Main.tsx Signed-off-by: Chris Hesterman * Unify vertical button alignment across panels, ContentPanel.tsx Signed-off-by: Chris Hesterman * Update jest snapshots, add ROUTE_STYLE variable Signed-off-by: Chris Hesterman * Add placeholder restore button to Snapshots panel Signed-off-by: Chris Hesterman * Comment out line 20 rollups_spec.js in cypress/integration/ Signed-off-by: Chris Hesterman * Remove unused code and comment cypress/integration/rollups_spec.js Signed-off-by: Chris Hesterman * Set window.opener to null via anchor tag 'rel' attribute-TransformIndices Signed-off-by: Chris Hesterman * Add rel="noopener noreferrer" to external links, update snapshots Signed-off-by: Chris Hesterman * Include version increment to 2.3.0 Signed-off-by: Chris Hesterman * Remove 2.3 version bump Signed-off-by: Chris Hesterman Signed-off-by: Chris Hesterman --- opensearch_dashboards.json | 10 +++++++--- package.json | 2 +- .../components/NewPolicy/NewPolicy.tsx | 2 +- .../components/DefinePolicy/DefinePolicy.tsx | 2 +- .../containers/CreatePolicy/CreatePolicy.tsx | 2 +- .../components/RollupIndices/RollupIndices.tsx | 2 +- .../components/CronSchedule/CronSchedule.tsx | 2 +- .../CreateSnapshotPolicy.tsx | 2 +- .../TransformIndices/TransformIndices.tsx | 7 ++++++- .../ApplyPolicyModal/ApplyPolicyModal.tsx | 2 +- .../CreateRepositoryFlyout.tsx | 8 ++++---- .../SnapshotPolicies/SnapshotPolicies.tsx | 2 +- .../containers/Snapshots/Snapshots.tsx | 2 +- .../components/ISMTemplates/ISMTemplates.tsx | 2 +- .../components/States/States.tsx | 2 +- .../components/Transition/Transition.tsx | 2 +- .../containers/CreateAction/CreateAction.tsx | 2 +- .../CreateTransition/CreateTransition.tsx | 2 +- .../ErrorNotification/ErrorNotification.tsx | 2 +- .../VisualCreatePolicy/VisualCreatePolicy.tsx | 2 +- ...t-dashboards-plugin.release-notes-2.3.0.0.md | 17 ----------------- 21 files changed, 34 insertions(+), 42 deletions(-) delete mode 100644 release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.3.0.0.md diff --git a/opensearch_dashboards.json b/opensearch_dashboards.json index cc814397a..07c6b7e86 100644 --- a/opensearch_dashboards.json +++ b/opensearch_dashboards.json @@ -2,8 +2,12 @@ "id": "indexManagementDashboards", "version": "2.2.1.0", "opensearchDashboardsVersion": "2.2.1", - "configPath": ["opensearch_index_management"], - "requiredPlugins": ["navigation"], + "configPath": [ + "opensearch_index_management" + ], + "requiredPlugins": [ + "navigation" + ], "server": true, "ui": true -} +} \ No newline at end of file diff --git a/package.json b/package.json index 1375eaf89..7019b8e64 100644 --- a/package.json +++ b/package.json @@ -64,4 +64,4 @@ "engines": { "yarn": "^1.21.1" } -} +} \ No newline at end of file diff --git a/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx b/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx index 5476d5a4f..579984047 100644 --- a/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx +++ b/public/pages/ChangePolicy/components/NewPolicy/NewPolicy.tsx @@ -93,7 +93,7 @@ export default class NewPolicy extends React.Component

When the new policy will take effect depends on the current state of indices and the states of the new policy.{" "} - + Learn more

diff --git a/public/pages/CreatePolicy/components/DefinePolicy/DefinePolicy.tsx b/public/pages/CreatePolicy/components/DefinePolicy/DefinePolicy.tsx index e052fded3..9593c1998 100644 --- a/public/pages/CreatePolicy/components/DefinePolicy/DefinePolicy.tsx +++ b/public/pages/CreatePolicy/components/DefinePolicy/DefinePolicy.tsx @@ -52,7 +52,7 @@ const DefinePolicy = ({ jsonString, onChange, onAutoIndent, hasJSONError }: Defi

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

diff --git a/public/pages/CreatePolicy/containers/CreatePolicy/CreatePolicy.tsx b/public/pages/CreatePolicy/containers/CreatePolicy/CreatePolicy.tsx index 94d665ad9..78ebf9ab8 100644 --- a/public/pages/CreatePolicy/containers/CreatePolicy/CreatePolicy.tsx +++ b/public/pages/CreatePolicy/containers/CreatePolicy/CreatePolicy.tsx @@ -186,7 +186,7 @@ export default class CreatePolicy extends Component + Learn more

diff --git a/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx b/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx index f55a0ce80..1140b66a6 100644 --- a/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx +++ b/public/pages/CreateRollup/components/RollupIndices/RollupIndices.tsx @@ -151,7 +151,7 @@ export default class RollupIndices extends Component + Learn more } diff --git a/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx b/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx index 4843e845f..78ed71fcf 100644 --- a/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx +++ b/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx @@ -145,7 +145,7 @@ const CronSchedule = ({

Use Cron expression to define complex schedule.{" "} - + Learn more

diff --git a/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx b/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx index 7dd3f07e0..26d1454b3 100644 --- a/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx +++ b/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx @@ -482,7 +482,7 @@ export default class CreateSnapshotPolicy extends Component

Snapshot policies allow you to define an automated snapshot schedule and retention period.{" "} - + Learn more

diff --git a/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx b/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx index 15038c326..17d07fab3 100644 --- a/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx +++ b/public/pages/CreateTransform/components/TransformIndices/TransformIndices.tsx @@ -199,7 +199,12 @@ export default class TransformIndices extends Component - + {" "} Learn more diff --git a/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx b/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx index 4c0f0293e..5b62dc363 100644 --- a/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx +++ b/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx @@ -205,7 +205,7 @@ export default class ApplyPolicyModal extends Component

This policy includes a rollover action. Specify a rollover alias.{" "} - + Learn more

diff --git a/public/pages/Repositories/components/CreateRepositoryFlyout/CreateRepositoryFlyout.tsx b/public/pages/Repositories/components/CreateRepositoryFlyout/CreateRepositoryFlyout.tsx index 686c0c015..160af0edc 100644 --- a/public/pages/Repositories/components/CreateRepositoryFlyout/CreateRepositoryFlyout.tsx +++ b/public/pages/Repositories/components/CreateRepositoryFlyout/CreateRepositoryFlyout.tsx @@ -158,7 +158,7 @@ export default class CreateRepositoryFlyout extends Component

Define a repository by custom type and settings.{" "} - + View sample configurations

@@ -186,7 +186,7 @@ export default class CreateRepositoryFlyout extends Component

Define additional settings for this repository.{" "} - + Learn more

@@ -212,7 +212,7 @@ export default class CreateRepositoryFlyout extends Component To use a custom repository, such as Amazon S3, Azure Blob Storage or similar, install and configure the respective repository plugin on OpenSearch and then define the repository configuration below.{" "} - + Learn more

@@ -240,7 +240,7 @@ export default class CreateRepositoryFlyout extends Component

Select a supported repository type. For additional types, install the latest repository plugins and choose Custom configuration.{" "} - + Learn more

diff --git a/public/pages/SnapshotPolicies/containers/SnapshotPolicies/SnapshotPolicies.tsx b/public/pages/SnapshotPolicies/containers/SnapshotPolicies/SnapshotPolicies.tsx index 35006b875..68ab334c0 100644 --- a/public/pages/SnapshotPolicies/containers/SnapshotPolicies/SnapshotPolicies.tsx +++ b/public/pages/SnapshotPolicies/containers/SnapshotPolicies/SnapshotPolicies.tsx @@ -419,7 +419,7 @@ export default class SnapshotPolicies extends Component

Define an automated snapshot schedule and retention period with a snapshot policy.{" "} - + Learn more

diff --git a/public/pages/Snapshots/containers/Snapshots/Snapshots.tsx b/public/pages/Snapshots/containers/Snapshots/Snapshots.tsx index b41e09ba1..c82ca30c8 100644 --- a/public/pages/Snapshots/containers/Snapshots/Snapshots.tsx +++ b/public/pages/Snapshots/containers/Snapshots/Snapshots.tsx @@ -279,7 +279,7 @@ export default class Snapshots extends Component

Snapshots are taken automatically from snapshot policies, or you can initiate manual snapshots to save to a repository.
To restore a snapshot, use the snapshot restore API.{" "} - + Learn more

diff --git a/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx b/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx index 01da76e30..03d3d8cd5 100644 --- a/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx +++ b/public/pages/VisualCreatePolicy/components/ISMTemplates/ISMTemplates.tsx @@ -54,7 +54,7 @@ const ISMTemplates = ({ policy, onChangePolicy }: ISMTemplatesProps) => {

Specify ISM template patterns that match the index to apply the policy.{" "} - + Learn more

diff --git a/public/pages/VisualCreatePolicy/components/States/States.tsx b/public/pages/VisualCreatePolicy/components/States/States.tsx index d644e2460..9090699af 100644 --- a/public/pages/VisualCreatePolicy/components/States/States.tsx +++ b/public/pages/VisualCreatePolicy/components/States/States.tsx @@ -45,7 +45,7 @@ const States = ({ onOpenFlyout, policy, onClickEditState, onClickDeleteState, on 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

diff --git a/public/pages/VisualCreatePolicy/components/Transition/Transition.tsx b/public/pages/VisualCreatePolicy/components/Transition/Transition.tsx index d9b4c04a4..bd053dc96 100644 --- a/public/pages/VisualCreatePolicy/components/Transition/Transition.tsx +++ b/public/pages/VisualCreatePolicy/components/Transition/Transition.tsx @@ -178,7 +178,7 @@ const Transition = ({ uiTransition, onChangeTransition }: TransitionProps) => { title="Cron expression" helpText="The matching cron expression required to transition to the next state." learnMore={ - + Learn more } diff --git a/public/pages/VisualCreatePolicy/containers/CreateAction/CreateAction.tsx b/public/pages/VisualCreatePolicy/containers/CreateAction/CreateAction.tsx index d0c58c131..bb6ff1ace 100644 --- a/public/pages/VisualCreatePolicy/containers/CreateAction/CreateAction.tsx +++ b/public/pages/VisualCreatePolicy/containers/CreateAction/CreateAction.tsx @@ -77,7 +77,7 @@ export default class CreateAction extends Component Actions are the operations ISM performs when an index is in a certain state.{" "} - + Learn more
diff --git a/public/pages/VisualCreatePolicy/containers/CreateTransition/CreateTransition.tsx b/public/pages/VisualCreatePolicy/containers/CreateTransition/CreateTransition.tsx index d337a6213..d70a01269 100644 --- a/public/pages/VisualCreatePolicy/containers/CreateTransition/CreateTransition.tsx +++ b/public/pages/VisualCreatePolicy/containers/CreateTransition/CreateTransition.tsx @@ -90,7 +90,7 @@ export default class CreateTransition extends Component 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.{" "} - + Learn more
diff --git a/public/pages/VisualCreatePolicy/containers/ErrorNotification/ErrorNotification.tsx b/public/pages/VisualCreatePolicy/containers/ErrorNotification/ErrorNotification.tsx index 8f1ea5a72..634b837b8 100644 --- a/public/pages/VisualCreatePolicy/containers/ErrorNotification/ErrorNotification.tsx +++ b/public/pages/VisualCreatePolicy/containers/ErrorNotification/ErrorNotification.tsx @@ -120,7 +120,7 @@ export default class ErrorNotification extends Component

You can set up an error notification for when a policy execution fails.{" "} - + Learn more

diff --git a/public/pages/VisualCreatePolicy/containers/VisualCreatePolicy/VisualCreatePolicy.tsx b/public/pages/VisualCreatePolicy/containers/VisualCreatePolicy/VisualCreatePolicy.tsx index 7b32b388a..31dc3df18 100644 --- a/public/pages/VisualCreatePolicy/containers/VisualCreatePolicy/VisualCreatePolicy.tsx +++ b/public/pages/VisualCreatePolicy/containers/VisualCreatePolicy/VisualCreatePolicy.tsx @@ -285,7 +285,7 @@ export default class VisualCreatePolicy extends Component

Policies let you automatically perform administrative operations on indices.{" "} - + Learn more

diff --git a/release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.3.0.0.md b/release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.3.0.0.md deleted file mode 100644 index 59c5d3a92..000000000 --- a/release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.3.0.0.md +++ /dev/null @@ -1,17 +0,0 @@ -## Version 2.3.0.0 2022-09-09 - -Compatible with OpenSearch 2.3.0 - -### Enhancements -* Change alignment of Snapshot Management panels in pages/Main/Main.tsx ([#236](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/236)) - -### Bug fixes -* Remove extra forward slash for URL to snapshot management docs ([#231](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/231)) - -### Maintenance -* Version bump 2.3.0 ([#247](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/247)) -* Bumped moment version to resolve dependabot alert ([#230](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/230)) -* Refactored dependency used by test mock. Adjusted OSD version used by test workflows ([#229](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/229)) - -### Documentation -* Added release notes for 2.3 ([#250](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/250)) \ No newline at end of file