Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 classification 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,15 +421,15 @@ const ActionCenterFields: NextPage = () => {
image={Empty.PRESENTED_IMAGE_SIMPLE}
description={
<>
<div>All resources have been approved.</div>
<div>
{`You'll now find this data in Managed Datasets
view.`}
All resources have been either approved or
ignored.
</div>
<div>
{`To see approved or ignored resources, adjust
your filters`}
Approved resources can be found in the manage
datasets view.
</div>
<div>To see ignored resources, adjust your filters.</div>
</>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ 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 actionLabel = actionType === FieldActionType.CLASSIFY
? "Classification"
: FIELD_ACTION_COMPLETED[actionType];
return `${actionLabel} failed${actionType === FieldActionType.CLASSIFY || actionType === FieldActionType.PROMOTE ? ": View summary in the activity tab" : ""}`;
};

const CONFIDENCE_BUCKET_TO_SEVERITY: Record<
ConfidenceBucket,
Expand Down
Loading