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

Changes not applying to nodes #2899

Closed cuserox closed 2 weeks ago

cuserox commented 2 weeks ago

Describe the bug Given a set of composition tokens to apply to a component, when applying, errors when setting certain characteristics means the changes are not applied

To Reproduce Steps to reproduce the behavior:

  1. In the tokens tab, apply a different brand to the button (or any component)
  2. See not all the changes on the button (or any component) have been applied

Expected behavior Composition tokens to be visible on the component

Screenshots or Screencasts Original thread

cuserox commented 2 weeks ago

Why is happening?

See the width value is also referencing an alias:

Screenshot 2024-06-21 at 11 59 32

Where is this happening?

In production, and also in RC8 (pre v2 release)

🧐 Questions to answer

Video attached of it occurring in production: https://github.com/tokens-studio/figma-plugin/assets/114073780/7970c2a7-904c-4fb2-b7f9-f4637884f225

cuserox commented 2 weeks ago

Consensus & summary

Aim

Surface friendlier errors to the user when Apply to X doesn't work