patrickkeenan / sketch-framer-states

Export artboards from Sketch as states for Framer
20 stars 0 forks source link

Why do we need an assets page? #10

Closed cleercode closed 10 years ago

cleercode commented 10 years ago

Why not just export the layers directly instead of adding them to the assets page and then exporting them later? Is it just to have somewhere to see the assets separated out?

patrickkeenan commented 10 years ago

There are problems with having multiple layers on artboards. Slices don't work, and you have to set and reset stuff like visibility and position. There's lots of advantages to breaking out another page, and I think this could be pretty helpful in the future once we get symbols working.

On Sun, May 11, 2014 at 9:51 PM, Chris Lee notifications@github.com wrote:

Why not just export the layers directly instead of adding them to the assets page and then exporting them later? Is it just to have somewhere to see the assets separated out?

— Reply to this email directly or view it on GitHubhttps://github.com/patrickkeenan/sketch-framer-states/issues/10 .

cleercode commented 10 years ago

Makes sense.

cleercode commented 10 years ago

What do you think about generating the assets page but deleting it at the end of the process so that it's obscured from the user? I think it'd be cleaner from a user perspective and would also cut down on some of the code, like finding the existing assets page and generating the label layers. Not sure if that conflicts with ideas you had about symbols, though.

patrickkeenan commented 10 years ago

Agreed, I delete it by default now. Its very useful for debugging, but until the assets are symbols, it doesn't make sense to have it.