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:
parent
86a2ed652d
commit
da818cf420
@ -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",
|
||||||
|
@ -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(); }
|
||||||
}
|
}
|
||||||
|
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user