canonical.com icon indicating copy to clipboard operation
canonical.com copied to clipboard

TSP-1834 Watch consent changes, update session variables.

Open mariuskava opened this issue 3 months ago • 2 comments

Done

  • watch user consent changes
  • store session variables if allowed
  • update data privacy policy to include keys used in sessionStorage

QA

  • goto https://canonical-com-2101.demos.haus
  • check session storage (should be no keys)
  • accept all cookies
  • new session key should appear for initial url
  • revoke consent (Manage your tracker settings at the bottom)
  • session keys should disappear

Issue / Card

TSP-1834

mariuskava avatar Dec 01 '25 14:12 mariuskava

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 78.12%. Comparing base (ad34430) to head (b0a15bd). :warning: Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2101   +/-   ##
=======================================
  Coverage   78.12%   78.12%           
=======================================
  Files          16       16           
  Lines        1696     1696           
=======================================
  Hits         1325     1325           
  Misses        371      371           
Flag Coverage Δ
python 78.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Dec 01 '25 14:12 codecov[bot]