SalesforceLabs / CommunityCookieConsent

Community Cookie Consent allows you to display a cookie notice to your customers and gain their consent when they use your community. You can configure the cookies and categories directly in Salesforce and use those to drive the user interface.
20 stars 19 forks source link

Enhancements for DPC project #24

Open acrolla-SFDC opened 7 months ago

acrolla-SFDC commented 7 months ago

Enhancements to support UK DPC project (2 Feb 23)

(1) Defect fix for "Reject" button Current behaviour: The Reject button should prevent access to the application as Experience Cloud cookies are essential to operation. Currently the button click navigates to 'history.back'. This approach does not work if the user navigates to another portal page and then clicks Reject. Updated behaviour: Force navigation to a blank page [cookieConsent.js]

(2) Links to Privacy Policy and Cookies page open in a new window Parameterised the target so that developer can pick a blank page (_blank) or to replace the current page (_self) [cookieConsent.js, cookieConsent.js-meta.xml]

salesforce-cla[bot] commented 7 months ago

Thanks for the contribution! Before we can merge this, we need @acrolla-SFDC to sign the Salesforce Inc. Contributor License Agreement.