Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reordering Artboards in Layer list #18

Closed
nitrada opened this issue Jan 19, 2014 · 16 comments
Closed

Reordering Artboards in Layer list #18

nitrada opened this issue Jan 19, 2014 · 16 comments
Assignees

Comments

@nitrada
Copy link

nitrada commented Jan 19, 2014

Hey there,

first of all thanks a lot for providing these very useful commands for Sketch!
Very helpful in our everyday work.

I have something in my mind since quite some time that I think would totally enhance our workflow. It might be pretty specific, and the solution I have in mind not really possible with Sketch's current API, but I thought I just write it down here to start a conversation …

We're working with a lot of Artboards per Page. This happens both while exploring a broad range of drafts (duplicating Artboards for new iterations), but also when documenting our design. We're taking some time to refactor our documents every now and then – mostly manually order the Artboards on the Canvas from the upper left to the lower right.

Now the problem: we usually have a pretty well structured Canvas, upper left to lower right. But this –for sure– is not at all reflected in the Layer List (new/duplicated Artboards being added on top of currently selected Artboard -> layer model). So I was thinking if we have this clear order of Artboards on the Canvas, wouldn't it be great to have a command to re-order the Artboards representations in the Layer List accordingly? (First Artboard top left becomes first in the Layer List etc.)

(Also, it would be great to be able to expand/collapse all Artboards/Groups in the Layer List at once by pressing a modifier, just like in Photoshop – but I'm aware this is something that should be part of Sketch itself ;-)

Do you know what I mean? Looking forward to your thoughts!

Have a great Sunday,
Christophe

@ricburton
Copy link
Contributor

+1

Love this idea—can the Sketch API can support it?

@bomberstudios
Copy link
Owner

I think I understand what you mean, but let's put it in pictures.

So, what you're saying is, imagining you have this document:

sketch-command-request-before

you'd run a command and end up with this document:

sketch-command-request-after

Is this correct?

You're right in that it cannot currently be done with the Sketch API, but I think there might be a workaround. I'll have to run some experiments : )

As for the "expand/collapse all Artboards/Groups in the Layer List", feel free to create a new issue, but I think it might be a duplicate of #16 : )

@nitrada
Copy link
Author

nitrada commented Jan 22, 2014

That's exactly what I mean :-)

We often also export it as a file sequence, that would be "00 Home.png", "01 Article.png", "01 Comment.png" according to your visual …

@Petros-
Copy link

Petros- commented Apr 7, 2016

Hey, sorry to resurrect an old thread but I just wanted to second the motion for a way to reorder the artboards in the layer list by geography within the canvas. First off, thanks for your work in bringing us these great plugins! They make sketch doable for an Adobe veteran. I'm just picking up Sketch and one of the things I miss greatly from Illustrator is the auto-numbering that occurs with artboards. In Illustrator I create a new file with 50+ artboards, it automatically grids them, and I start making screens in order. Then I can pretty easily reorder them by cutting and pasting all the stuff inside one artboard and into another and the artboard numbering persists because it's automatic (tied to the artboard location which I don't change).

In Sketch Numberize gets me part of the way there, but the order of the numbers (which is important to me because it relates to the order of the flow I'm creating) depends on the order of the layer list which I generally don't like to bother with. Why should I have to reorder artboards on the canvas and then also reorder the layer stack? Sounds photoshoppy. Anyways, thanks again for the great work you've done and if you wanted to know whether there's anyone else out there who could use the layer-stack-reordering command, there is! :)

@bomberstudios
Copy link
Owner

Well, thanks for resurrecting this old thread : )

This is a prototype of something I'm working on at the moment:

artboard-moving

artboard-moving-02

@Petros-
Copy link

Petros- commented Apr 14, 2016

Pretty sweet! I love the second idea too, where the artboards space themselves automatically.

@kevinbaes
Copy link

Love this idea too!!

@nitrada
Copy link
Author

nitrada commented Apr 16, 2016

3 yrs! great to see this come alive again. and this for sure is something that should be triggered by user events :)

@Moustachioz
Copy link

I love this idea too! Having the artboards automatically order in the layers list based on the order on screen would be awesome

@mrrocks
Copy link

mrrocks commented May 31, 2016

This is awesome, can't wait to use the next iteration 👍

@moeffju
Copy link

moeffju commented Jun 10, 2016

Is any of this released in some usable form?

@bomberstudios
Copy link
Owner

Not yet, haven't found the time to cleanup what I have (I found some issues when working with non iPhone-sized Artboards : )

@micahdaigle
Copy link

micahdaigle commented Jun 30, 2016

I need this SO BAD right now. :) Thanks for working on it, @bomberstudios ! Any updates?

Update: I just figured out a bit of a workaround using two other plugins.

First, this one: https://github.com/romannurik/Sketch-ArtboardTricks?utm_source=designernews

Use "Prefix Artboard Names with Numbers" (make sure you select all your artboards and "Align Top" so they're all on the same X axis.

Then use this plugin to sort them now that they're numbered sequentially: https://github.com/romashamin/sort-me-sketch

Bit of a pain, but way less so than manually reordering them!

@Quisp
Copy link

Quisp commented Jan 6, 2017

+1 for this feature, resurrecting for 2017---

Also if it could be used to reorder the layers within an art board would be helpful for documentation (so the order that page elements occur in the page is reflected by the stacking order in the Wireframe / Layers sidebar.) I end up spending a large amount of time re-ordering others' work when it's time to ship to the engineers.

Any new progress on the fix?

@duncanhoge
Copy link

@bomberstudios That prototype is amazing. I don't care so much about the artboard names changing as I do the layer list order to match the reordering that's going on with the artboards.

(Although I think I'd probably use what you've prototyped too, I just haven't figured out how that would fit with my workflow.)

@bomberstudios
Copy link
Owner

Quick update: I've pushed my prototype plugin to https://github.com/bomberstudios/artboard-manager

Still some work to do, but it's definitely usable for iPhone-sized artboards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests