mathieudutour / mathieudutour/git-sketch-plugin

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

Open
#67 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
2.4k
Forks
119
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace how exported artboards are named and written into the .exportedArtboards folder. Compare exports from different pages and symbols, then organize page artboards separately so identical artboard names do not overwrite one another while symbol exports remain available. The payload names no files or tests to start from.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.