# Special indication on nodes with description

**URL:** https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646
**Category:** Feature Requests
**Tags:** feature-request
**Created:** [23 May 2023 16:03 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646 "2023-05-23T16:03:23Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 17:14 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/63 "2024-01-26T17:14:34Z")

</div>

> [@knolleary](#):
>
> Are there other options in that area?

I'm thinking about the [status topic](https://discourse.nodered.org/t/custom-node-status-popup/83534) - the `text` property remains the current status under the node and a new property `description` allows to show more in the Sidebar.

> [@knolleary](#):
>
> We already have a number of buttons

There are already three and I don't see what you want to do with the new one? Highlighted the description?

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 January 2024 17:49 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/64 "2024-01-26T17:49:40Z")

</div>

> [@gregorius](#):
>
> I would go as far as taking the [core nodes](https://github.com/node-red/node-red/tree/master/packages/node_modules/%40node-red/nodes/core) out of the Node-RED codebase and putting them in a package that gets included in the distribution. But that's just an idea that _I_ have.

Totally agree with this.

There are other (contributed) nodes that would potentially benefit from such a split and I'm hoping that when Node.js v20 (or might be 21, can't remember) becomes the baseline with full support for submodules, this will be more straightforward because you will be able to use a monorepo "properly". Well that's my understanding anyway.

But, we are off topic - again! 😉

---

<div class="post-metadata">

### Author: ![rko](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rko/32/45807_2.png) [@rko](https://discourse.nodered.org/u/rko)
#### Post date: [26 January 2024 20:02 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/65 "2024-01-26T20:02:24Z")

</div>

In my defense, I would like to say that I posted this feature request out of a certain frustration, after spending at least an hour trying to reinvent the wheel, only to realize shortly thereafter that I had neatly documented everything in the (hidden) node's description some time ago.

Nobody likes overcluttered GUIs. So maybe, it is indeed a bad idea to implement this.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [26 January 2024 20:09 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/66 "2024-01-26T20:09:46Z")

</div>

Hah - I'll drink to that 🍻

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [26 January 2024 20:14 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/67 "2024-01-26T20:14:39Z")

</div>

If only you had remembered to change the icon when you added the documentation! 😝

Sadly all icons are invisible on the comment node. This is fa-envelope-open-o  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c55d6817d66b509b313e52444e66fdb81fca5d3e.png)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 January 2024 20:30 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/68 "2024-01-26T20:30:00Z")

</div>

> [@rko](#):
>
> Nobody likes overcluttered GUIs. So maybe, it is indeed a bad idea to implement this.

I don't think it is a bad idea, but maybe not something that everyone wants on all the time.

> [@knolleary](#):
>
> It will depend on the specifics of what it looks like.

Just trying to play with some ideas myself as, even if this isn't adopted in core, I think I'd like _something_ I could implement myself (and share with others of course).

But at the moment, I'm slightly struggling to adapt @gregorius's code above:

_His current code only updates after you open and close a node. Is there an event that I could use that will trigger when the page is loaded and after all the nodes are rendered?_

* * *

Positioning not yet allowing for different node sizes but starting to get there:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/8/981ae00d4d94e8a7a1ae5bac7b9e89f7fca50667.png)

Still a bit distracting though. Need to tone it down further.

* * *

Or this - which has the advantage that the indicator is within the icon box which means it would still be inside it if the icon is on the other side.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/f/1f7384863f06119f1071eae2c11019b4e59c6e3e.png)

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 20:47 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/69 "2024-01-26T20:47:57Z")

</div>

> [@TotallyInformation](#):
>
> Still a bit distracting though

That's why I was looking for a sober icon to put inside the node

> [@TotallyInformation](#):
>
> Is there an event that I could use that will trigger when the page is loaded and after all the nodes are rendered?

Try with `RED.events.on("runtime-state")` but not sure

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 January 2024 20:56 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/70 "2024-01-26T20:56:57Z")

</div>

> [@GogoVega](#):
>
> Try with `RED.events.on("runtime-state")` but not sure

Thanks, I'll try it.

* * *

This is even more subtle & I might try this for a while:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/1/819d8e03ec2478984b2c25173978762bf2e00953.png)

It just makes the separator thicker.

Drat - but no, doesn't work when the node is collapsed to just its icon as that border is dynamically hidden constantly.

* * *

Hmm, making the whole border 2 thick instead of 1?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3c7ee2d00666c41d4ce24de9893c34eade9b7c51.png)

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 21:04 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/71 "2024-01-26T21:04:36Z")

</div>

I had thought of put an "i" in a corner? (the bottom right)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 January 2024 21:08 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/72 "2024-01-26T21:08:49Z")

</div>

> [@GogoVega](#):
>
> I thought I'd put an "i" in a corner? (the right bottom)

Personally, I think that some kind of icon, even an `i` would be distracting, especially if you have a lot of descriptions.

As others have commented I think, it is really very easy to ruin a visual UX with clutter.

But just my opinion.

More importantly though, getting to a consistent bottom-right is actually quite hard unless you amend core I think. Since nodes can change size. Though haven't tried that hard so I may be missing something obvious.

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 21:13 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/73 "2024-01-26T21:13:47Z")

</div>

![Capture d’écran 2024-01-26 à 22.11.16](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6a7422f0612b0af55969f146ad6e47847468a7a6.png)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 January 2024 21:15 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/74 "2024-01-26T21:15:27Z")

</div>

OK, I could be persuaded.

Of course, none of this is accessible. But accessible visual programming is a very hard problem. And since the description can still be accessed other ways, there probably isn't an easy answer.

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 21:19 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/75 "2024-01-26T21:19:47Z")

</div>

I understand Remo's frustration, what he is asking is to just know that a node has a description - like the "inject" node does when enabling the repeat.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [26 January 2024 21:21 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/76 "2024-01-26T21:21:11Z")

</div>

I can now definitely do something for myself which is good. The code is relatively easy once you know the trick.

Did you manage to find a robust way to get that `i` into the bottom-right corner?

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [26 January 2024 21:21 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/77 "2024-01-26T21:21:26Z")

</div>

Is this topic still referring to how to identify nodes with a description?  
Haven't been nosey on this topic too much

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 21:24 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/78 "2024-01-26T21:24:55Z")

</div>

Use the following to calculate its position:

`RED.view.node_width` and `RED.view.node_height`

> [@marcus-j-davies](#):
>
> Is this topic still referring to how to identify nodes with a description?

Yep 🙄

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [26 January 2024 21:25 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/79 "2024-01-26T21:25:58Z")

</div>

Just to interferer with my own thoughts ..

(I am currently listening to Kate Bush - so ... you know...)

![Screenshot 2024-01-26 at 21.22.42](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/e/aecd50958c16e2c4aacb9210b18d7300cc450842.png)

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 21:29 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/80 "2024-01-26T21:29:01Z")

</div>

This is precisely the kind of idea that Nick and Dave try to avoid because it pollutes the rendering of the node. It shouldn't be too visible and the idea of a new badge is disturbing (and too showy)

> [@marcus-j-davies](#):
>
> (I am currently listening to Kate Bush

You are forgiven 😂 😉

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [26 January 2024 21:34 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/81 "2024-01-26T21:34:13Z")

</div>

I feel this topic is hard to get right.  
anyway - to not draw to much attention - but still have a purpose

![Screenshot 2024-01-26 at 21.32.29](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/5/e5fea3aaa52601f3f188c64c26ae7a4c912cccff.png)

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [26 January 2024 21:38 UTC](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/82 "2024-01-26T21:38:12Z")

</div>

I had this kind of idea, initially I wanted something that looked like the "file-text" icon but I couldn't get the right size (because svg). To see if the upper corner is better 🤷‍♂️

[Previous page](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646.md?page=3)

[Next page](https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646.md?page=5)
