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() {
|
||||
|
||||
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 sidebarControls;
|
||||
|
@ -156,7 +156,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('inject',{
|
||||
category: 'input',
|
||||
category: 'flow',
|
||||
color:"#a6bbcf",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -37,7 +37,7 @@
|
||||
(function() {
|
||||
var subWindow = null;
|
||||
RED.nodes.registerType('debug',{
|
||||
category: 'output',
|
||||
category: 'flow',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
active: {value:true},
|
@ -25,7 +25,7 @@
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('catch',{
|
||||
category: 'input',
|
||||
category: 'flow',
|
||||
color:"#e49191",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('status',{
|
||||
category: 'input',
|
||||
category: 'flow',
|
||||
color:"#d9f4fd",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -162,7 +162,7 @@
|
||||
}
|
||||
|
||||
RED.nodes.registerType('link in',{
|
||||
category: 'input',
|
||||
category: 'flow',
|
||||
color:"#ddd",//"#87D8CF",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
@ -191,7 +191,7 @@
|
||||
});
|
||||
|
||||
RED.nodes.registerType('link out',{
|
||||
category: 'output',
|
||||
category: 'flow',
|
||||
color:"#ddd",//"#87D8CF",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('comment',{
|
||||
category: 'function',
|
||||
category: 'flow',
|
||||
color:"#ffffff",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('csv',{
|
||||
category: 'function',
|
||||
category: 'parser',
|
||||
color:"#DEBD5C",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('html',{
|
||||
category: 'function',
|
||||
category: 'parser',
|
||||
color:"#DEBD5C",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('json',{
|
||||
category: 'function',
|
||||
category: 'parser',
|
||||
color:"#DEBD5C",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('xml',{
|
||||
category: 'function',
|
||||
category: 'parser',
|
||||
color:"#DEBD5C",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('yaml',{
|
||||
category: 'function',
|
||||
category: 'parser',
|
||||
color:"#DEBD5C",
|
||||
defaults: {
|
||||
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
|
||||
// added to the end of the palette.
|
||||
// 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
|
||||
logging: {
|
||||
|
Loading…
Reference in New Issue
Block a user