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.32k stars 190 forks source link

Surface the number of variables linked #2925

Open cuserox opened 1 week ago

cuserox commented 1 week ago

Is your feature request related to a problem? Please describe. When someone exports themes to Figma, we currently display the number of created variables and collections. It would be helpful to show the number that have been linked / attached instead of 'No Variables Created', which is what shows as the variables were already there, but were somehow unlinked.

Another community request: https://tokens-studio.slack.com/archives/C073SSG7DC7/p1719923126230879?thread_ts=1719921281.457329&cid=C073SSG7DC7

Describe the solution you'd like Given I have variables in Figma If these become unlinked And I re-export them again I expect a toast to tell me that they're been re-linked, with the correct count

Describe alternatives you've considered N/A

Additional context Work can be carried on from fixing the variables & collections counter: https://github.com/tokens-studio/figma-plugin/issues/2838. Suggested by the community here.