sonburn / symbol-swapper

Swap the selected symbols and/or symbol instances to a master of the same name in a library.
MIT License
188 stars 11 forks source link

Lost overrides after swapping #14

Open abertossi opened 6 years ago

abertossi commented 6 years ago

• duplicated symbol page into library file (hosted in Abstract) • swapped all symbols with ones from library • lost majority of overrides (in nested symbols)

• all symbols names have remained the same

image

josefrichter commented 6 years ago

+1 this issue. but it seems to be a Sketch problem. I think it sometimes happens even if you have 2 versions of the same symbol (e.g. just different color) and they have exactly the same nested symbols. Sometimes swapping one for another just doesn't "remember" which of the nested symbols were selected, and instead displays either this "missing symbol" or just selects the nested symbol that is used by default in the parent symbol, and ignores the overrides.

sonburn commented 6 years ago

@abertossi Are you still having issues? I don't use Abstract, I don't know if that could be causing problems or not. Please try the latest versions of the Symbol Swapper (version 0.14 is now available), and see if that solves anything for you. Nested symbols and overrides shouldn't have data loss as long as the layer structures and names are similar.

koester commented 6 years ago

I just tested it with v0.14 and the issue still exist.

When I replace my local symbols in Sketch with the ones from Abstract, the overrides are gone.

creativechris08 commented 6 years ago

I’ve been getting this problem with my text symbols through shared library’s (using abstract) on sketch 51.3 & 51.2. My text symbols are within nested overrides. Symbol swapper also refuses to swap local symbols that are currently in use on the design under the option “swap by name” & “swap by ID” :(

kegelm commented 5 years ago

I have the same problem! Please fix it.

My problem: I have a library A and a library B. In one separate document i build my entire screens with the library A components. In the document i override some text, symbols, etc. When i'm swapping the library, i lost the whole overrides.