carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.85k stars 1.81k forks source link

Carbon coverage: Start Acceptance criteria for hidden items #17216

Open RichKummer opened 2 months ago

RichKummer commented 2 months ago

The ability to hide unhelpful or inaccurate issue items is an important feature to the Carbon coverage plugin. This enables designers to flag certain items so they do not take. up space in the plugin UI and can safely be ignored. However, memory can become an issue with too many recorded hidden items.

We need to start figuring out the acceptance criteria for when the plugin should delete a hidden item.

For example:

  1. The memory of all hidden items should be cleared whenever the designer closes the Figma file running the plugin.

Every time you store you need a key and a value. Right now, everything is stored under one key. We can have multiple keys scoped to certain things like documents. We can then limit it to search through certain keys (like only document ID).

See below.

RichKummer commented 2 months ago

Hidden items should be cleared when...

Hidden items should be retained when...

Or we can map by priority:

Priority 01

Priority 02

Priority 03