diff --git a/CHANGELOG.md b/CHANGELOG.md index b8954a9a93..9441044f83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ Changes can also be flagged with a GitHub label for tracking purposes. The URL o ## [Unreleased](https://github.com/ethyca/fides/compare/2.77.0..main) +### Changed + - Updated FE copy for our bulk ignore modal, the schema explorer empty state, and the failed action message/toast. [#7185](https://github.com/ethyca/fides/pull/7185) + ## [2.77.0](https://github.com/ethyca/fides/compare/2.76.1..2.77.0) ### Added diff --git a/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/FieldActions.const.tsx b/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/FieldActions.const.tsx index 3f902ef92f..c5796772d8 100644 --- a/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/FieldActions.const.tsx +++ b/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/FieldActions.const.tsx @@ -199,7 +199,7 @@ export const FIELD_ACTION_CONFIRMATION_MESSAGE = { classify: (targetItemCount: number) => `Are you sure you want to run the classifier and apply data categories to ${targetItemCount.toLocaleString()} unlabeled ${pluralize(targetItemCount, "resource", "resources")}?`, mute: (targetItemCount: number) => - `Are you sure you want to ignore ${targetItemCount.toLocaleString()} ${pluralize(targetItemCount, "resource", "resources")}? After ignoring, these resources may reappear in future scans.`, + `Are you sure you want to ignore ${targetItemCount.toLocaleString()} ${pluralize(targetItemCount, "resource", "resources")}? After ignoring, these resources will not appear in future scans.`, promote: (targetItemCount: number) => `Are you sure you want to approve ${targetItemCount.toLocaleString()} ${pluralize(targetItemCount, "resource", "resources")}? After approving this data can be used for policy automation and DSRs. `, } as const satisfies Readonly< diff --git a/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/page.tsx b/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/page.tsx index 754d78c4ff..f613d92f84 100644 --- a/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/page.tsx +++ b/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/page.tsx @@ -422,14 +422,16 @@ const ActionCenterFields: NextPage = () => { image={Empty.PRESENTED_IMAGE_SIMPLE} description={ <> -
All resources have been approved.
- {`You'll now find this data in Managed Datasets - view.`} + All resources have been either approved or + ignored.
- {`To see approved or ignored resources, adjust - your filters`} + Approved resources can be found in the manage + datasets view. +
+
+ To see ignored resources, adjust your filters.
} diff --git a/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/utils.ts b/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/utils.ts index 5fb5e3177c..897f2f3cf7 100644 --- a/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/utils.ts +++ b/clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/utils.ts @@ -27,8 +27,14 @@ export const getActionSuccessMessage = ( ) => `${FIELD_ACTION_COMPLETED[actionType]}${pluralize(itemCount ?? 0, "", `${actionType === FieldActionType.ASSIGN_CATEGORIES ? " for" : ""} ${itemCount?.toLocaleString()} resources`)}`; -export const getActionErrorMessage = (actionType: FieldActionType) => - `${FIELD_ACTION_COMPLETED[actionType]} failed${actionType === FieldActionType.CLASSIFY || actionType === FieldActionType.PROMOTE ? ": View summary in the activity tab" : ""}`; +export const getActionErrorMessage = (actionType: FieldActionType) => { + const activityTabSuffix = + actionType === FieldActionType.CLASSIFY || + actionType === FieldActionType.PROMOTE + ? ": View summary in the activity tab" + : ""; + return `Action failed${activityTabSuffix}`; +}; const CONFIDENCE_BUCKET_TO_SEVERITY: Record< ConfidenceBucket,