mirror of https://github.com/node-red/node-red.git
Updated Design: Palette Management UI (markdown)
parent
52c4eade86
commit
ef82dba4a2
|
@ -52,3 +52,21 @@ How the user manages their palette. Three distinct views:
|
|||
### Runtime handling
|
||||
|
||||
Most pieces should already be in place. Need to review whether there should be a hook into storage to deal with add/remove nodes; so it could maintain a `package.json` file for the user.
|
||||
|
||||
|
||||
### Customising the catalog
|
||||
|
||||
By default, the catalog will be one we provide. But it needs to be possible customise the list of catalogs it uses. This will be done via the existing `editorThemes` setting - https://github.com/node-red/node-red/wiki/Design%3A-Editor-Themes
|
||||
|
||||
editorTheme: {
|
||||
...
|
||||
palette: {
|
||||
catalogues: [ // An array of urls for catalogues
|
||||
"http://catalogue.nodered.org/catalogue.json",
|
||||
"..."
|
||||
],
|
||||
categories: [] // <-- supersedes existing paletteCatagories option,
|
||||
editable: true/false // Default: true. Allows the editable palette to be disabled entirely
|
||||
}
|
||||
...
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue