git-sketch-plugin icon indicating copy to clipboard operation
git-sketch-plugin copied to clipboard

Artboards with the same name across different pages don't get tracked

Open bryanberger opened this issue 7 years ago • 3 comments

In this scenario only a a single ArtboardName.png was created (most likely being overwritten)

Page 1
├─ ArtboardName

Page 2
├─ ArtboardName

Just something to be aware of. A simple solution could be to use unique artboard names.

But...I've been thinking, that the .exportedArtboards folder can use more organization. Something like this:

.exportedArtboards
├─ Pages
│  ├─ Page 1
│  │  ├─ Artboard 1.png
│  │  └─ Artboard 2.png
│  └─ Page 2
│     ├─ Artboard 1.png
│     └─ Artboard 2.png
└─ Symbols
   ├─ Group
   │  └─ Symbol.png
   ├─ Symbol 2.png
   └─ Symbol 3.png

This would allow you to have the same artboard name across different pages (there are valid use cases for this) While offering a level of organization.

bryanberger avatar Nov 28 '16 23:11 bryanberger

That's a good idea. I'm not sure about how feasible it is though since we are using sketchtool so we don't really have control over how it's exported

mathieudutour avatar Nov 28 '16 23:11 mathieudutour

I’m working on a project with many pages and consider the page-name as a ‘namespace’. This feature would be very useful indeed.

timohofmeijer avatar Dec 20 '16 13:12 timohofmeijer

I too could really use this feature. Would love it if the page name were included in the filename. Perhaps some kind of template preference for this?

{{pageName}} - {{artboardName}} {{incNum}} - {{pageName}} - {{artboardName}} and so on.

If not template style naming, would love just a check box to include Page Name in the filename.

yourfavorite avatar Dec 06 '17 01:12 yourfavorite