From f034e2a431b9f510283e7c6a171306eedd10e83a Mon Sep 17 00:00:00 2001 From: Andrew Dahms Date: Fri, 9 Apr 2021 11:47:57 +1000 Subject: [PATCH] Minor edits to the text in labels for bulk operations. --- .../bulkOperationConfirmation.test.tsx.snap | 12 ++++++------ .../frontend/src/app/bulkOperationConfirmation.tsx | 14 +++++++------- .../frontend/src/app/bulkOperationMetadata.tsx | 4 ++-- .../validation/validators/XrefValidator.java | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/pantheon-bundle/frontend/src/app/__snapshots__/bulkOperationConfirmation.test.tsx.snap b/pantheon-bundle/frontend/src/app/__snapshots__/bulkOperationConfirmation.test.tsx.snap index e921b4a4f..2f3b7fa81 100644 --- a/pantheon-bundle/frontend/src/app/__snapshots__/bulkOperationConfirmation.test.tsx.snap +++ b/pantheon-bundle/frontend/src/app/__snapshots__/bulkOperationConfirmation.test.tsx.snap @@ -32,7 +32,7 @@ exports[`BulkOperationConfirmation tests should render BulkOperationConfirmation measureLocation="top" min={0} size="sm" - title="Update Succeeded" + title="Succeeded" tooltipPosition="top" value={50} valueText={null} @@ -49,7 +49,7 @@ exports[`BulkOperationConfirmation tests should render BulkOperationConfirmation measureLocation="top" min={0} size="sm" - title="Update failed" + title="Failed" tooltipPosition="top" value={10} valueText={null} @@ -66,7 +66,7 @@ exports[`BulkOperationConfirmation tests should render BulkOperationConfirmation measureLocation="top" min={0} size="sm" - title="No draft version found. No action taken" + title="No drafts found - no action taken" tooltipPosition="top" value={40} valueText={null} @@ -120,7 +120,7 @@ exports[`BulkOperationConfirmation tests should render BulkOperationConfirmation variant="large" > - Update Succeeded: + Succeeded:

- Update Ignored: + Ignored:

- Update Failed: + Failed:
} > -
-
-
+
+
+
- Update Succeeded: + Succeeded:
@@ -85,7 +85,7 @@ class BulkOperationConfirmation extends React.Component

- Update Ignored: + Ignored:
@@ -98,7 +98,7 @@ class BulkOperationConfirmation extends React.Component

- Update Failed: + Failed:
@@ -130,4 +130,4 @@ class BulkOperationConfirmation extends React.Component 0 && this.state.bulkUpdateWarning === this.props.documentsSelected.length) { - this.setState({ metadataEditError: "No draft versions found on selected items. Unable to save metadata." }) + this.setState({ metadataEditError: "No drafts found on selected items. Unable to save metadata." }) } }) } @@ -485,4 +485,4 @@ class BulkOperationMetadata extends React.Component