1
0
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:
Nick O'Leary 2019-06-19 14:31:03 +01:00
parent 8ccbd2d8f9
commit 00a3e25714
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
18 changed files with 26 additions and 14 deletions

View File

@ -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;

View File

@ -156,7 +156,7 @@
<script type="text/javascript">
RED.nodes.registerType('inject',{
category: 'input',
category: 'flow',
color:"#a6bbcf",
defaults: {
name: {value:""},

View File

@ -37,7 +37,7 @@
(function() {
var subWindow = null;
RED.nodes.registerType('debug',{
category: 'output',
category: 'flow',
defaults: {
name: {value:""},
active: {value:true},

View File

@ -25,7 +25,7 @@
</script>
<script type="text/javascript">
RED.nodes.registerType('catch',{
category: 'input',
category: 'flow',
color:"#e49191",
defaults: {
name: {value:""},

View File

@ -21,7 +21,7 @@
<script type="text/javascript">
RED.nodes.registerType('status',{
category: 'input',
category: 'flow',
color:"#d9f4fd",
defaults: {
name: {value:""},

View File

@ -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:""},

View File

@ -12,7 +12,7 @@
<script type="text/javascript">
RED.nodes.registerType('comment',{
category: 'function',
category: 'flow',
color:"#ffffff",
defaults: {
name: {value:""},

View File

@ -62,7 +62,7 @@
<script type="text/javascript">
RED.nodes.registerType('csv',{
category: 'function',
category: 'parser',
color:"#DEBD5C",
defaults: {
name: {value:""},

View File

@ -37,7 +37,7 @@
<script type="text/javascript">
RED.nodes.registerType('html',{
category: 'function',
category: 'parser',
color:"#DEBD5C",
defaults: {
name: {value:""},

View File

@ -27,7 +27,7 @@
<script type="text/javascript">
RED.nodes.registerType('json',{
category: 'function',
category: 'parser',
color:"#DEBD5C",
defaults: {
name: {value:""},

View File

@ -22,7 +22,7 @@
<script type="text/javascript">
RED.nodes.registerType('xml',{
category: 'function',
category: 'parser',
color:"#DEBD5C",
defaults: {
name: {value:""},

View File

@ -12,7 +12,7 @@
<script type="text/javascript">
RED.nodes.registerType('yaml',{
category: 'function',
category: 'parser',
color:"#DEBD5C",
defaults: {
property: {value:"payload",required:true},

View File

@ -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: {