Since updating to Node-RED 5.0.1, all comment nodes with a Name set show the info badge. But actually, no additional info was added to the node (which is quite confusing). It's not possible anymore to differentiate comments with/without additional text added.
Is this an intended behaviour or bug?
Info badge is displayed although no info/text was added to the comment node.
That is probably a side-effect of another change we made - without spotting this edge case.
Can you raise an issue on github for us to remember to fix?
@knolleary thanks for your quick response. I've created the issue.
opened 01:22PM - 04 Jul 26 UTC
needs-triage
### Current Behavior
Since updating to Node-RED 5.0.1, all comment nodes with a… Name set show the info badge. But actually, no additional info was added to the node (which is quite confusing). It's not possible anymore to differentiate comments with/without additional text added.
See also https://discourse.nodered.org/t/nr5-0-1-info-badge-for-all-comment-nodes/101402
### Expected Behavior
Info badge should only be shown if additional text was added to the comment node.
### Steps To Reproduce
1. Add a comment node
2. Enter a name
3. Save node
4. See info badge added to comment node
### Example flow
```
[
{
"id": "4a4238581a5b1a7c",
"type": "comment",
"z": "ef100889e52b534f",
"name": "",
"info": "",
"x": 360,
"y": 680,
"wires": []
},
{
"id": "067aa1ec1001df27",
"type": "comment",
"z": "ef100889e52b534f",
"name": "Comment _without_ text added",
"info": "",
"x": 570,
"y": 680,
"wires": []
},
{
"id": "76933c26065c1fed",
"type": "comment",
"z": "ef100889e52b534f",
"name": "Comment with text added",
"info": "Hello World",
"x": 830,
"y": 680,
"wires": []
}
]
```
### Environment
- Node-RED version: 5.0.1
- Node.js version: -
- npm version: -
- Platform/OS: -
- Browser: -