DWilliames / google-sheets-sync-figma

82 stars 8 forks source link

Feature request: replace text using unique component names #90

Open csmithdisco opened 2 years ago

csmithdisco commented 2 years ago

Describe the bug Feature request: Would love to be able to use a unique id in a google sheet row to sync to a specific component on a page. For example, a screen has 5 tooltips on it. I would love to name these with Tooltip_elementName, Tooltip_anotherElementName, and then use rows in a google sheet to fill out these tooltips.

This would allow PMs and other content owners to edit/review content in the Google sheet. Then once content is approved, syncing the sheet would update Figma with all of the approved content. I've tried using numbered elements for this, but it gets unwieldy and confusing to manage in large files with lots of screens.

Thanks for making the plugin!

AymericG commented 8 months ago

You can show or hide layers. So you stack all tooltips on top of each other, and hide them in your Figma. Then in your Google Sheets, you can do Tooltip_elementName -> Show. You can then make this field a computed field based on the value of another field, like the Status column.