-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1171 cookie consent clean up (#1199)
**Related Ticket:** #1171 ### Description of Changes - Relocating cookie retrieval, validation, and creation functionality from `layoutRoot` to `cookieConsentForm` - Implementing `session item` to track when a session has begun for each individual user and only run validation and retrieval functionality on session start and when a response has not been recorded. - Adjusting Banner content to accept markdown in config props. ### Notes & Questions About Changes ### Validation / Testing Clear out all cookies in your local machine to do so: open `dev tools` -> navigate to `application tab`-> navigate to `cookies` in the left panel -> right click `clear` - After clearing your existing site cookies, navigate to any page. Click on **Decline**. Navigate to another page and you should not see the cookie consent form component. - Clearing your existing site cookies again, navigate to any page. Click on **Accept**. Navigate to another page and you should not see the cookie consent form component. - Clearing your existing site cookies again, navigate to any page. Click on **X**. Navigate to another page and you should see the cookie consent form component rerendered.
- Loading branch information
Showing
9 changed files
with
320 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.