I'm using @figma/code-connect version 2.0.1.
For the preview --all feature, I'd like to request these related features:
- allowing to specify and exclude certain props from the combinations
- allowing to specify and include certain props and values for the combinations
- assigning swap instances - this is a blindspot that cannot currently be previewed
Currently it only iterates over combinations of Booleans and Variants.
Setting text and instance swaps are necessary to fully test templates. A possible solution would be allowing to pass the extra prop keys with different values to iterate.
The feature could offer the option to exclude specific props that might not be meaningful for code generation, such as cosmetic changes only relevant for designers. This would also help to reduce the amount of unnecessary iterations.
I'm using @figma/code-connect version 2.0.1.
For the
preview --allfeature, I'd like to request these related features:Currently it only iterates over combinations of Booleans and Variants.
Setting text and instance swaps are necessary to fully test templates. A possible solution would be allowing to pass the extra prop keys with different values to iterate.
The feature could offer the option to exclude specific props that might not be meaningful for code generation, such as cosmetic changes only relevant for designers. This would also help to reduce the amount of unnecessary iterations.