tokens-studio / figma-plugin

Official repository of the plugin 'Tokens Studio for Figma' (Figma Tokens)

Home Page:https://www.figma.com/community/plugin/843461159747178978

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split out plugin store states by file

cuserox opened this issue · comments

Is your feature request related to a problem? Please describe.
Certain settings for users, such as "Exporting to Figma" or "Apply as" are persisted in the plugin across all files. This causes confusion when the plugin doesn't work as expected.

Describe the solution you'd like
If possible, the status of the plugin for a variety of settings should be split by file, so that when a user changes across, these persist.

Describe alternatives you've considered
Using context instead of Redux.

Additional context

  • "Apply as" settings thread
  • "Export to Figma" settings thread

I'm not sure on this. I would find it confusing if that apply state changes per file - I would have to remember what settings I last used in that file, not what I last used within the plugin.

cc @SamIam4Hyma in case you can talk to some users to bring clarity on it before we actually work on this.