GSoC 2021 - Cookie Manager | Week 8
Date: 26 July 2021 - 1 August 2021
Hi, this is the progress report for the cookie manager project which is currently part of GSoC.
In the 8th week of the program, we added some more functions to the cookie block/unblock process.
Tasks completed this week:
- Different positions for the cookie banner were added.
- Positions - Top, Left, Right, Bottom, Center, Top Left Corner, Top Right Corner, Bottom Left Corner, Bottom Right Corner.
- A class is defined for each position and it is added to the cookie banner.
- Cookie expiration period in days added, with default value 30 days. This will be further reviewed for any adjustments to the default value.
- Both position and expiration periods are sent from backend to frontend using addScriptOptions.
- When cookie preferences will change, the expiration date will be updated.
- Added modal-dialog-scrollable class to the preferences banner.
- Added code for accepting all cookies at once, using the Accept all cookies button.
- There was some pending work regarding the cookie blocking process that was covered this week.