tokens-studio / figma-plugin

Official repository of the plugin 'Tokens Studio for Figma' (Figma Tokens)
https://www.figma.com/community/plugin/843461159747178978
MIT License
1.34k stars 194 forks source link

2707 removing broken references from inspect panel removes all tokens #2821

Closed robinhoodie0823 closed 2 months ago

robinhoodie0823 commented 2 months ago

Why does this PR exist?

Current plugin removes all inspect tokens when user filters only broken reference tokens and selects all and removes them.

Closes #2707

What does this pull request do?

Updated the handleSelectAll function to select only visible inspect tokens.

Testing this change

Additional Notes (if any)

https://github.com/tokens-studio/figma-plugin/assets/103296157/826f6f6c-a272-4e1b-83a3-bf3a15081f1f

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: ab7522e82eb2189ca384108fdcbd2cbfc173608e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------------- | ----- | | @tokens-studio/figma-plugin | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR