figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

Selective import of Variable Collections and Modes

Open six7 opened this issue 9 months ago • 0 comments

When users are importing variables in the plugin today, we import everything.

Instead, we should make it so that when the user presses Import - in the dialog we already have where we define the Import options, that they can choose which Variable collections and modes (nested under collections) they want to import. This can be done by just doing a call to get available collections once before show the dialog with the import options, and then wait for the user's choice, and then proceed with just those collections.

Likely the import logic itself would need to be changed a bit to not just import everything but rather filter on the collections and modes that we defined prior.

six7 avatar May 28 '25 06:05 six7