Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monzo/file-cleaner
https://github.com/monzo/file-cleaner
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/monzo/file-cleaner
- Owner: monzo
- License: mit
- Created: 2018-12-10T15:59:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-26T23:40:53.000Z (about 1 year ago)
- Last Synced: 2024-10-27T14:43:16.848Z (14 days ago)
- Language: JavaScript
- Size: 17.5 MB
- Stars: 67
- Watchers: 12
- Forks: 5
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# File Cleaner by Monzo
File Cleaner is a plugin that keeps your Sketch files immaculately clean and in order. We’ve written all about why we built it and the way it works [on our blog](https://monzo.com/blog/2018/12/11/design-files-system/).
## What File Cleaner does
By following an artboard naming convention of 100, 101, 102, File Cleaner generates a grid for your canvas and ensures that every screen is in the right place, no matter what you add or where you add it. Here’s what it does to your files:
### ✨ When you run Validate and Clean, it will:
* Tell you if there’s anything missing (eg. page name, artboards without names)
* Tell you if there’s any duplicate artboards
* Align all the artboards to their correct place in the grid
* Place new artboards in the correct place in their flow
* Re-arrange the left panel so artboards are in the correct order
### 👀 Some examples of how File Cleaner works in practice:
When you add a new screen to the end of your row it’ll give it the correct name and position:
When you make one artboard taller than the others it’ll adjust the grid to reflect this:
When you place a screen in the middle of a row, it’ll give it the correct name and update the names of all the following screen:
### 📄 The parameters for how it works:
* There is one page per file, named `Master`
* Each flow in the page is on its own row, and starts with a number that denotes it
* Each artboard is named after the flow its in, followed by where it sits in that flow. So, the 5th artboard in the 2nd flow is named 205.*Top tip: if File Cleaner tells you when you’ve dropped an artboard into the middle of a flow and it has a duplicate name, you can add a suffix to the artboard name (eg “203#”) and it’ll position correctly*.
## Installation
* [Download](https://github.com/monzo/file-cleaner/releases/latest) the latest release of the plugin
* Un-zip
* Double-click on monzo-file-cleaner.sketchplugin
### This is a plugin from [Monzo Design](http://monzo.com/design).