PavelLaptev / JSON-to-Figma

An easy way to populate Figma layers with JSON
MIT License
142 stars 40 forks source link

Lists support #23

Open baronvertigovongrahamthesecondofsealand opened 3 years ago

baronvertigovongrahamthesecondofsealand commented 3 years ago

We have a list of food ingredients that need to be imported into separate fields.

ie.

...
"ingredientsList": [
  [
    "1 x 20cm pizza base",
    "2 large garlic cloves (or three small), peeled",
    "Flaky sea salt",
    "2 tablespoons extra virgin olive oil",
    "Mozzarella",
    "Parmesan",
    "1 large courgette",
    "Havarti",
    "Gruyere",
    "2 tablespoons pine nuts",
    "1 lemon",
    "Extra virgin olive oil"
  ]
...

Need to be able to reference each ingredient separately, but when we import its showing us the following (for example):

Image Pasted at 2021-6-30 15-39

The data doesnt get pulled in when choosing one of those fields. Any ideas?

PavelLaptev commented 3 years ago

@baronvertigovongrahamthesecondofsealand thanks for feedback. I'll check it :-)

baronvertigovongrahamthesecondofsealand commented 3 years ago

Thanks! Also note that we have multiple ingredients lists per recipe, hence the second level nesting.

jbot5000 commented 3 years ago

This would be a dream come true if you could support lists/arrays <3 Willing to test this!

megaroeny commented 3 years ago

@baronvertigovongrahamthesecondofsealand thanks for feedback. I'll check it :-)

Any progress on this? 😃

PavelLaptev commented 1 year ago

@megaroeny this feature requires quite UI and code changes. But I'll keep it in mind. WIll try to add next release