contentsync / SketchContentSync

Sync sketch files with google docs.
275 stars 17 forks source link

Sheet per Page not working? #89

Closed virgils closed 5 years ago

virgils commented 6 years ago

I enabled the Sheet per Page but that doesn't seem to work. Also tried to create different versions.

The different pages are merged to one sheet. For example I have a title at two different pages;

screen shot 2018-09-05 at 2 37 27 pm

virgils commented 6 years ago

I actually see the tooltip now. But the document is set to private, not public.

screen shot 2018-09-05 at 2 48 14 pm

dbrody commented 6 years ago

Actually, it has been changed. See #84

An upcoming release will update the plugin / platform UI to fix this.

dbrody commented 6 years ago

This is now done using the Sheet Transform Function for additional flexibility.

virgils commented 6 years ago

Would it be possible if two pages over two sheets containing the same keyname, that when pulling it would grab the last keyname it would find and apply is for both pages.

So for example the Title from my Contactpage Sheet (I also have a Homepage Sheet) is being applied to my Homepage Sketch board Title.

(Just want to note that I really like the plugin and the work and effort you have put into it)

dbrody commented 6 years ago

Thanks @virgils !

By default when pulling it will do the following and use the value from the first key found:

However, when pushing, if the same key is already found on another sheet, it will not create a new key.

You should be able to manually create the key "Title" on both sheets, under the same version and then when pushing / pulling it should do as you'd like. I'd have to dig in deeper to verify all of this, but that will have to wait a bit at the moment.

Hope that helps!

virgils commented 6 years ago

Ah yes, pushing works. Pulling overwrites the wrong common title field in the Sketch file. I'll wait for the updates, thanks again for the great work already!

dbrody commented 6 years ago

Makes sense since keys are unique when pulling at the moment. So when pulling, it only grabs one. I'll make sure we look into that for the next major release.

Thanks!

contentsync commented 5 years ago

Update with ContentSync 6.1.1.

Now the setting is directly in the ContentSync pane.

Screen Shot 2019-03-20 at 1 13 26 PM