From da818cf420d249c3bcc0fd20d7ffa951ced0acc7 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 27 Jul 2016 22:25:18 +0100 Subject: [PATCH] Add initial palette sidebar --- Gruntfile.js | 1 + editor/js/ui/sidebar.js | 1 + red/api/locales/en-US/editor.json | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 95c8d6989..597337ae5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -119,6 +119,7 @@ module.exports = function(grunt) { "editor/js/ui/palette.js", "editor/js/ui/tab-info.js", "editor/js/ui/tab-config.js", + "editor/js/ui/tab-palette.js", "editor/js/ui/editor.js", "editor/js/ui/tray.js", "editor/js/ui/clipboard.js", diff --git a/editor/js/ui/sidebar.js b/editor/js/ui/sidebar.js index 9a3e75dae..56d9e8b46 100644 --- a/editor/js/ui/sidebar.js +++ b/editor/js/ui/sidebar.js @@ -206,6 +206,7 @@ RED.sidebar = (function() { showSidebar(); RED.sidebar.info.init(); RED.sidebar.config.init(); + RED.sidebar.palette.init(); // hide info bar at start if screen rather narrow... if ($(window).width() < 600) { toggleSidebar(); } } diff --git a/red/api/locales/en-US/editor.json b/red/api/locales/en-US/editor.json index 75d1dc8ce..cff8f3e43 100644 --- a/red/api/locales/en-US/editor.json +++ b/red/api/locales/en-US/editor.json @@ -225,6 +225,10 @@ "filterUnused":"unused", "filterAll":"all", "filtered": "__count__ hidden" + }, + "palette": { + "name": "Palette management", + "label": "palette" } }, "typedInput": {