1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add initial palette sidebar

This commit is contained in:
Nick O'Leary 2016-07-27 22:25:18 +01:00
parent 86a2ed652d
commit da818cf420
3 changed files with 6 additions and 0 deletions

View File

@ -119,6 +119,7 @@ module.exports = function(grunt) {
"editor/js/ui/palette.js", "editor/js/ui/palette.js",
"editor/js/ui/tab-info.js", "editor/js/ui/tab-info.js",
"editor/js/ui/tab-config.js", "editor/js/ui/tab-config.js",
"editor/js/ui/tab-palette.js",
"editor/js/ui/editor.js", "editor/js/ui/editor.js",
"editor/js/ui/tray.js", "editor/js/ui/tray.js",
"editor/js/ui/clipboard.js", "editor/js/ui/clipboard.js",

View File

@ -206,6 +206,7 @@ RED.sidebar = (function() {
showSidebar(); showSidebar();
RED.sidebar.info.init(); RED.sidebar.info.init();
RED.sidebar.config.init(); RED.sidebar.config.init();
RED.sidebar.palette.init();
// hide info bar at start if screen rather narrow... // hide info bar at start if screen rather narrow...
if ($(window).width() < 600) { toggleSidebar(); } if ($(window).width() < 600) { toggleSidebar(); }
} }

View File

@ -225,6 +225,10 @@
"filterUnused":"unused", "filterUnused":"unused",
"filterAll":"all", "filterAll":"all",
"filtered": "__count__ hidden" "filtered": "__count__ hidden"
},
"palette": {
"name": "Palette management",
"label": "palette"
} }
}, },
"typedInput": { "typedInput": {