mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Change core node categories
This commit is contained in:
parent
8ccbd2d8f9
commit
00a3e25714
@ -17,7 +17,19 @@
|
|||||||
RED.palette = (function() {
|
RED.palette = (function() {
|
||||||
|
|
||||||
var exclusion = ['config','unknown','deprecated'];
|
var exclusion = ['config','unknown','deprecated'];
|
||||||
var coreCategories = ['subflows', 'input', 'output', 'function', 'social', 'mobile', 'storage', 'analysis', 'advanced'];
|
var coreCategories = [
|
||||||
|
'subflows',
|
||||||
|
'flow',
|
||||||
|
'input',
|
||||||
|
'output',
|
||||||
|
'function',
|
||||||
|
'parser',
|
||||||
|
'social',
|
||||||
|
'mobile',
|
||||||
|
'storage',
|
||||||
|
'analysis',
|
||||||
|
'advanced'
|
||||||
|
];
|
||||||
|
|
||||||
var categoryContainers = {};
|
var categoryContainers = {};
|
||||||
var sidebarControls;
|
var sidebarControls;
|
||||||
|
@ -156,7 +156,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('inject',{
|
RED.nodes.registerType('inject',{
|
||||||
category: 'input',
|
category: 'flow',
|
||||||
color:"#a6bbcf",
|
color:"#a6bbcf",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
(function() {
|
(function() {
|
||||||
var subWindow = null;
|
var subWindow = null;
|
||||||
RED.nodes.registerType('debug',{
|
RED.nodes.registerType('debug',{
|
||||||
category: 'output',
|
category: 'flow',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
active: {value:true},
|
active: {value:true},
|
@ -25,7 +25,7 @@
|
|||||||
</script>
|
</script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('catch',{
|
RED.nodes.registerType('catch',{
|
||||||
category: 'input',
|
category: 'flow',
|
||||||
color:"#e49191",
|
color:"#e49191",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('status',{
|
RED.nodes.registerType('status',{
|
||||||
category: 'input',
|
category: 'flow',
|
||||||
color:"#d9f4fd",
|
color:"#d9f4fd",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -162,7 +162,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
RED.nodes.registerType('link in',{
|
RED.nodes.registerType('link in',{
|
||||||
category: 'input',
|
category: 'flow',
|
||||||
color:"#ddd",//"#87D8CF",
|
color:"#ddd",//"#87D8CF",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
@ -191,7 +191,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
RED.nodes.registerType('link out',{
|
RED.nodes.registerType('link out',{
|
||||||
category: 'output',
|
category: 'flow',
|
||||||
color:"#ddd",//"#87D8CF",
|
color:"#ddd",//"#87D8CF",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('comment',{
|
RED.nodes.registerType('comment',{
|
||||||
category: 'function',
|
category: 'flow',
|
||||||
color:"#ffffff",
|
color:"#ffffff",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('csv',{
|
RED.nodes.registerType('csv',{
|
||||||
category: 'function',
|
category: 'parser',
|
||||||
color:"#DEBD5C",
|
color:"#DEBD5C",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('html',{
|
RED.nodes.registerType('html',{
|
||||||
category: 'function',
|
category: 'parser',
|
||||||
color:"#DEBD5C",
|
color:"#DEBD5C",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('json',{
|
RED.nodes.registerType('json',{
|
||||||
category: 'function',
|
category: 'parser',
|
||||||
color:"#DEBD5C",
|
color:"#DEBD5C",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('xml',{
|
RED.nodes.registerType('xml',{
|
||||||
category: 'function',
|
category: 'parser',
|
||||||
color:"#DEBD5C",
|
color:"#DEBD5C",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType('yaml',{
|
RED.nodes.registerType('yaml',{
|
||||||
category: 'function',
|
category: 'parser',
|
||||||
color:"#DEBD5C",
|
color:"#DEBD5C",
|
||||||
defaults: {
|
defaults: {
|
||||||
property: {value:"payload",required:true},
|
property: {value:"payload",required:true},
|
||||||
|
2
packages/node_modules/node-red/settings.js
vendored
2
packages/node_modules/node-red/settings.js
vendored
@ -243,7 +243,7 @@ module.exports = {
|
|||||||
// palette. If a node's category is not in the list, the category will get
|
// palette. If a node's category is not in the list, the category will get
|
||||||
// added to the end of the palette.
|
// added to the end of the palette.
|
||||||
// If not set, the following default order is used:
|
// If not set, the following default order is used:
|
||||||
//paletteCategories: ['subflows', 'input', 'output', 'function', 'social', 'mobile', 'storage', 'analysis', 'advanced'],
|
//paletteCategories: ['subflows','flow','input','output','function','parser','social','mobile','storage','analysis','advanced'],
|
||||||
|
|
||||||
// Configure the logging output
|
// Configure the logging output
|
||||||
logging: {
|
logging: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user