By Private Profile 2fb40d6b on 2021-07-05 13:25 in GSoC 21 Feature Enhancement - 2

Date: 28 June 2021 - 4 July 2021

Location: Glip

Hi, this is the progress report for the cookie manager project which is currently part of GSoC.

In the 4th week, I have created a cookie manager plugin for displaying the cookie banner to the site.

 

Discussion Outline:

  • Discuss the UI of the plugin.
  • Cookie banner elements (First pop-up)
    • Title of the cookie banner.
    • Short description about the cookie usage.
    • Link to the cookie policy.
    • Cookie categories for managing consents.
    • Category with alias necessary will be already checked and disabled.
    • Categories will be displayed according to the ordering done by the Admin.
    • Buttons - Confirm my choices, More details, Accept all cookies.
  • Cookie preferences banner elements (Second pop-up)
    • Title of the cookie preferences banner.
    • Short description about the cookie usage.
    • Link to the cookie policy.
    • Cookie categories with the description for managing consents.
    • A table of cookies for each category, by default it’s hidden but can be toggled to view them.
    • Buttons - Confirm my choices, Accept all cookies.
  • The cookie banner will be displayed after the page load.
  • A button will also be present for displaying the cookie banner again.

 

Tasks completed this week:

  • Create a cookie manager plugin.
  • Add CSS and JS for the plugin.
  • Register and add assets to the page using onBeforeCompileHead event.
  • Render the HTML using onAfterRespond event.

 

Pull Request - https://github.com/joomla-projects/gsoc21_cookie-manager/pull/5