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.33k stars 191 forks source link

'No Variables Created' With Beta rc7 #2828

Closed keeganedwin closed 3 weeks ago

keeganedwin commented 1 month ago

Describe the bug Some users have raised the issue of not being able to create variables with Figma displaying 'No Variables Created'. The variables are however still created, but they're created as blanks. Even if you reconfigure the themes (which is not actually required) they are created as blanks after this.

NOTE I have tested this in the production/live build with the same 'themes' setup and it just created variables as expected.

To Reproduce Steps to reproduce the behavior:

  1. Have token set that with more the 1 theme-group
  2. Create variables
  3. See error

Expected behavior Variables should just be created as it did with rc6 and prod 1.38.9.

Screenshots or Screencasts https://github.com/tokens-studio/figma-plugin/assets/93133012/b0a26f8a-0ace-4b0a-8e94-961ce0694f80

cuserox commented 1 month ago

🔢 Please note: numbers on the toast are now correct 😄 https://github.com/tokens-studio/figma-plugin/pull/2840

cuserox commented 1 month ago

🧐 Potentially a misconfiguration from the user's side, instead of a bug. Speaking with @keeganedwin & @six7 to understand if this is the way forwards, to educate on how to avoid Figma variables that when created are empty or missing alias references.

Advice to users when managing themes, before exporting them:

Remember to click on Save theme. Export them and see ✨

cuserox commented 1 month ago

⏳ Messaged the community with advice (thread here) on how to mitigate this 'bug'. Awaiting for responses and more information, in case it is a bug vs a misconfiguration of themes.

six7 commented 3 weeks ago

Let's close this and reopen if the issue comes up again.