Skip to content

jan-patrick/sketch_artboard-history

Repository files navigation

Artboard History - Sketch plugin

Switch faster between your latest used Artboards inside Sketch.

Functions

Switch between two Artboards Go Backwards Go Forwards Show saved History Zoom On / Off Set History lifetime Reset History
Status ✅* 🚧* ❌* ✅*
Runner icon

Runner icon dark

Shortcut alt + cmd + A ctrl + A ctrl + cmd + A - - - -

* Limitations (for now):

Switch between two Artboards
  • Switch between two Artboards (opt + cmd + a), can be done infinitely.
  • only works within one document (the history is overwritten when opening another document / works with the current used document only).
Go Backwards
  • Works, but the opposite way is currently not possible.
  • only works within one document at the moment due to a bug. On any additionally opened there is a small bug but the caommand mostly works.

Feel free to create an issue if something does not work probably or if you have a feature request.

Install

  1. Download the latest release.
  2. Unzip the file
  3. Double click on the file

Install with Sketch Runner (Pro) or Sketchpacks

With Sketch Runner, just go to the install command and search for Artboard History. Runner allows you to manage plugins and do much more to speed up your workflow in Sketch. Download Runner here.

further information

privacy

This plugin stores your personal Artboard History on your local machine only. You can access this data by using the Show command. No data is stored outside your computer and no backup is made. If you reset / delete the stored history via the Reset command all data will be overwritten.

warranty

The software is provided "as is", without warranty of any kind.

development

History Structure

var artboardHistory = {
  zoom: true,
  lifetime: 2629746000, // in millis (1 month as standard)
  documents: [{
    id: "documentId",
    timestamp: Date.now(),
    lastHistoryIndex: -1,
    lastMoveByUser: true,
    storedHistory: ["artboardId1", "artboardId2"] 
  }]
}

skpm

This plugin was created using skpm. For a detailed explanation on how things work, checkout the skpm Readme.