kmerc / sketch-import-symbols

Import Sketch symbols from another Sketch file into your current doc
86 stars 8 forks source link

Feature Request: Replace symbols where they are without moving. #14

Closed yourfavorite closed 7 years ago

yourfavorite commented 7 years ago

This latest update where symbols get replaced is incredible. I was wondering if the current workflow could be slightly modified.

Right now when you import symbols, it puts them all on the default Symbols page in the document. However I was planning on keeping two Symbols pages. One for elements that are shared across documents and another that is unique to the current document.

Eg - A global symbol for a site would be the main nav. A symbol unique to the current document might be a symbol composed of 3 global symbols. Say an avatar circle, a name and a description. Used for a row on a user list page. This row symbol doesn't need to by sync'd across all of my files, but the avatar, name and description symbols do.

Because of this I was hoping to keep my global symbols and my local (current document) symbols on separate pages. I feel like the logic should be: If a symbol exists, replace it where it is on whatever page it resides on. If a symbol does not exist, add it to the default symbols page.

Anyway, I don't really understand CocoaScript, so I'm not sure if this is easy to do or not, but I think it could be super helpful.

yourfavorite commented 7 years ago

This feature has been added as part of PR #16