GoogleChromeLabs / ps-analysis-tool

Privacy Sandbox Analysis Chrome Extension and CLI for analysis and understanding of cookie usage on web pages, and new privacy-preserving Chrome APIs
https://www.privacysandbox.com
Apache License 2.0
90 stars 18 forks source link

Disable Category filter when it has zero cookies #718

Open fellyph opened 2 weeks ago

fellyph commented 2 weeks ago

Feature Request

Description: When the user accesses a page with zero cookies from one specific category, the category filters link is enabled even though it has zero cookies. When the user clicks on it, it goes to the cookie table with no filter selected. The ideal scenario is to disable this cookie filter link when no cookies are under the related category.

Motivation: This behavior can confuse users who click in a filter and land at the cookie table with cookies from a different category.

Acceptance Criteria:

Additional Information:

https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/330792/5063c42a-dfaa-46fb-81f2-30485c014b58

https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/330792/a30371c3-4df6-48dc-84cf-05a98a52988b