diff --git a/clients/admin-ui/src/pages/management/consent.tsx b/clients/admin-ui/src/pages/management/consent.tsx index fcc3746cf8..1dacec2ab8 100644 --- a/clients/admin-ui/src/pages/management/consent.tsx +++ b/clients/admin-ui/src/pages/management/consent.tsx @@ -26,6 +26,7 @@ import { selectPurposes, useGetPurposesQuery, } from "~/features/common/purpose.slice"; +import QuestionTooltip from "~/features/common/QuestionTooltip"; import { errorToastParams, successToastParams } from "~/features/common/toast"; import { useGetHealthQuery, @@ -166,7 +167,7 @@ const ConsentConfigPage: NextPage = () => { if (isErrorResult(result)) { const errorMsg = getErrorMessage( result.error, - `An unexpected error occurred while saving TCF Purpose Override setting. Please try again.` + `An unexpected error occurred while saving vendor override settings. Please try again.` ); toast(errorToastParams(errorMsg)); } @@ -179,7 +180,6 @@ const ConsentConfigPage: NextPage = () => { }); if (e.target.checked) { - console.log("toggling off"); await patchTcfPurposeOverridesTrigger( tcfPurposeOverrides!.map((po) => ({ ...po, @@ -245,7 +245,7 @@ const ConsentConfigPage: NextPage = () => { fontWeight="medium" color="gray.700" > - TCF status:{" "} + TCF status{" "} {isTcfEnabled ? ( Enabled ) : ( @@ -259,8 +259,11 @@ const ConsentConfigPage: NextPage = () => { color="gray.700" > To {isTcfEnabled ? "disable" : "enable"} TCF, please contact - your Fides Administrator or{" "} - Ethyca support. + your Fides administrator or{" "} + + Ethyca support + + . @@ -282,13 +285,15 @@ const ConsentConfigPage: NextPage = () => { {isTcfEnabled ? ( <> - Override vendor purposes:{" "} + Configure overrides for TCF related purposes. + + { onChange={handleOverrideOnChange} isDisabled={isPatchConfigSettingsLoading} /> - + + Override vendor purposes + + + { > {isOverrideEnabled ? "The table below allows you to adjust which TCF purposes you allow as part of your user facing notices and business activites." - : "Toggle on if you want to globally change any flexible legal bases or remove TCF purposes from your CMP."} + : null} ) : null} @@ -318,10 +333,10 @@ const ConsentConfigPage: NextPage = () => { color="gray.700" > To configure this section, select the purposes you allow and - where available, the appropriate legal basis (either Consent - or Legitimate Interest). Read the guide on{" "} - - TCF Override here.{" "} + where available, the appropriate legal bases (either Consent + or Legitimate Interest).{" "} + + Read the guide on vendor overrides here.{" "} ) : null} @@ -373,7 +388,7 @@ const ConsentConfigPage: NextPage = () => { fontWeight="medium" lineHeight="4" > - Include in CMP + Allowed { fontWeight="medium" lineHeight="4" > - Require Consent + Consent @@ -398,7 +413,7 @@ const ConsentConfigPage: NextPage = () => { fontWeight="medium" lineHeight="4" > - Use Legitmate Interest + Legitimate interest