-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added dynamic category capability #254
Conversation
Looking good. Only issue is the palette had sub categories - xyz_input, xyz_output and xyz_function - to help with the ordering within a category - that appears to have been lost. |
That was an intentional design choice; there's no limit to how deep I guess we could limit it to one sub-level but then you would have to If you want to go the sub-category route I'll have to add in a name checker tjk
|
I only meant I want you to restore the sub categories we already have defined for the existing categories. How want want user defined categories to be structured is part of the bigger rethink of the palette. For this pr, we just want to enable single level user defined categories. |
Should users be allowed to add to the core categories?
|
Yes. For the existing categories we want exactly the behaviour we have today (the exact set and structure of categories) that can be used by any node. |
Added back the sub-categories, for every category it will create the three standard sub-category containers. |
Fixed. On Jun 30, 2014 1:47 PM, "knolleary" notifications@github.com wrote:
|
|
||
RED.palette = function() { | ||
|
||
var exclusion = ['config','unknown']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be:
['config','deprecated']
Tested locally - all looks good but for one final thing - the exclusion list needs 'deprecated' adding. |
Done! On Wed, Jul 2, 2014 at 4:46 PM, knolleary notifications@github.com wrote:
|
Added dynamic category capability
From this discussion, node-red now has dynamic category ingest ability. Categories can still be sub-indexed by using additional dashes, but all will be rolled under the a master category, as before. This version keeps the core modules in the correct order, as well.