DWilliames / paddy2-beta

Beta for the next version of the Paddy Sketch Plugin
MIT License
146 stars 5 forks source link

[Enhancement] Nested symbols support #25

Open dlewand691 opened 6 years ago

dlewand691 commented 6 years ago

I have a header banner symbol that has a "paddy symbol" included as part of a Sketch library. When placing header banner symbol into a new document and changing the text of the "paddy symbol" that padding is not applied.

How deep can symbols be nested when trying to use Paddy? The deeper the better! This would be another game-changer if possible.

Attaching a file to show another working example. Thanks!

paddy nested symbols 2 levels deep.sketch.zip

DWilliames commented 6 years ago

This is what I'd consider 'Nested symbols'. Which essentially entails trying to render symbol instances within a symbol instances with their own unique size. This will involve 'hijacking' the way Sketch renders symbol instances. It will be do-able; but unfortunately won't play nice with other apps e.g. Zeplin right now.

But that feature is in my backlog. 👍

aligfx commented 6 years ago

@DWilliames would love to learn more about the update of this issue, since paddy would be super essential when it comes to "nested symbols" as per buttons etc ....

dlewand691 commented 6 years ago

Currently, the best way I've found is to create the symbol and "require" it to be detached after placing it before editing. I add something like "(DETACH TO EDIT)" in the symbol name.

aligfx commented 6 years ago

@dlewand691 can you provide a sketch file please ? just so i can show it as an example to the team .. Thanks