ps-analysis-tool icon indicating copy to clipboard operation
ps-analysis-tool copied to clipboard

Disable Category filter when it has zero cookies

Open fellyph opened this issue 1 year ago • 0 comments

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:

  • [ ] Disable filter when it has zero cookies

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

fellyph avatar Jun 19 '24 13:06 fellyph