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.35k stars 194 forks source link

After importing variables from figma, remote update is not triggered while using genericVersionedStorage, and diff change seems has excepetion #3144

Open kibbon opened 3 weeks ago

kibbon commented 3 weeks ago

Token studio v2.0.3 / Figma 124.3.2

Describe the bug Total 2 bugs:

  1. Import variables from figma, don't triggle updating to remote while using genericVersionedStorage -> expect triggled as usual.
  2. Import variables changes list unchanged token.

To Reproduce Steps to reproduce the behavior:

  1. After adjusting the names of collections and modes, we changed the value of variable color, and try import: img_v3_02ej_e73aad6c-47b8-41f8-b95e-45043fa9aa4g As mentioned in Bug 1, the value of the changed token is updated, but the "updating generic remote" toast didn't show, and no update request is sent to the remote end. If we click "Apply to selection" or add/remove/edit token, it would update as usual.

Expect: "Import variables" should triggle updating.

  1. Import variables again, we saw changed list contained unchanged tokens: img_v3_02ej_f7053eec-a6ad-4dca-9e5e-c9a0145bb85g

As mentioned in Bug 2, unchanged token value should be hidden.

Expect: List changed token only.

### Tasks
kibbon commented 2 weeks ago

Remind