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

fix: add save button to export sets modal #2811

Closed cuserox closed 2 months ago

cuserox commented 2 months ago

Why does this PR exist?

Previously, selecting sets to export would always persist the changes. This gives the user to option to save or cancel.

Closes #2575 (N.B. screen doesn't contain a search any more)

What does this pull request do?

Testing this change

Before / After

Screenshot 2024-06-04 at 15 08 33 Screenshot 2024-06-04 at 14 54 12
Changes in action

https://github.com/tokens-studio/figma-plugin/assets/114073780/3c0f5d9b-98f9-4c84-8a7e-d35c0276fba1

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: 6129988d3bbe2d6291a3397cea9fc62ecca435d5

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.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

cuserox commented 2 months ago

@LukeFinch 🎨 Footer was a copy-pasta from another area of the plugin. Can tweak if needed!

LukeFinch commented 2 months ago

@LukeFinch 🎨 Footer was a copy-pasta from another area of the plugin. Can tweak if needed!

Looks geeat!