flow-library icon indicating copy to clipboard operation
flow-library copied to clipboard

Enhancement: Parse paletteLabel and align

Open codmpm opened this issue 7 years ago • 4 comments

It would be nice to reflect the properties set by paletteLabel and align from the nodes in _palettenode.html so that the look is the same as in the palette in node-red's editor.

flows.nodered.org flow-nodered-org-node-visualisation

in comparison to the palette palette-node-visualisation

codmpm avatar Mar 21 '17 23:03 codmpm

If an owner could verify that the paletteLabel should be used and the type name isn't being shown for a specific reason I can make a PR with the change.

yoiang avatar Jan 05 '19 08:01 yoiang

paletteLabel should not be used. We display the type name as that is important information to share about the module.

knolleary avatar Jan 05 '19 09:01 knolleary

@knolleary for argument's sake, we don't want to show the end user a preview of what they would expect to see in their own editor? Will it be confusing that once the nodes turn up in the editor some are prepended with ui_ and some aren't?

yoiang avatar Jan 05 '19 14:01 yoiang

There's a balance to be struck between two different requirements; displaying the node as it appears in the palette, and listing the underlying node type.

Open to suggestions for addressing both.

knolleary avatar Jan 05 '19 14:01 knolleary