Closed robinhoodie0823 closed 1 week ago
Latest commit: 7249f874db399e0bc674a64587e1a64cb7515835
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Why does this PR exist?
Current plugin is broken when we have multiple nested token set tree structure (when try to collapse/expand, and drag/drop token sets).
Closes #2915
What does this pull request do?
Added an unique identifier to prevent multi-select and collapse/expand problem. And updated the
tokenSetListToTree
function to prevent merging when drag/drop same name token set (leaf).Testing this change
Additional Notes (if any)
https://github.com/tokens-studio/figma-plugin/assets/103296157/c1002808-02af-406f-9c06-bf1756ef2bc2