This patch adds a few features improving the UX, when working with
multiple group input nodes:
**1.** Retain the visibility flag for the extension socket when the node
interface is updated.
**2.** Add a "Hide new sockets" property to the group input node that keeps
new node sockets added to the group interface hidden on this group
input node.
**3.** Group input nodes added from the link drag search automatically
enable the "Hide new sockets" property to only show the one input they
were created for, even when new inputs are added to the group interface.
---
**Issue**
When using the link drag search from any input socket it has a
"Group Input" entry, that automatically adds a new input to the group
interface and connects the link to a new group node containing only that
socket. the idea is to decentralize where data can come into the node
to reduce the need for very long node links.
There are two small issues with the current behaviour:
**1.** With every update to the group input nodes the extension socket is
readded making it visible even if it was previously hidden. (This is
addressed by feature 1)
**2.** When adding sockets to the interface they are added to //all// group
input nodes. So even the group inputs that were created specifically to
only function as an input in one particular place grow. (This is
addressed by feature 2 and 3)
**Comparison**
|master|patch|
|---|---|
|||
NOTE: This patch is complete on its own but is nicely complemented by
the tweaks to the node editor's side panel in D14530, as those expose
the visibility states of sockets more prominently to the user, which
makes it more obvious what exactly is happening.