Skip to content

Add list of acceptable types when hovering over node input #2069

@adamgerhant

Description

@adamgerhant

As noted by Lerc, it would be helpful for the NodeInput tooltip to display all acceptable types that will not cause a node error. For protonodes, this would require accessing the list of implementations, which are defined in the node macro. The implementations would then be filtered based on the current type of all other inputs to return a list of all currently valid types for that input. Network nodes are a bit more complex, since the inputs will undergo automatic type casting (2042), and all usages need to be valid. This means the acceptable types will be the intersection of all types that implement From for the network input type, and all types that the import is connected to.

Metadata

Metadata

Assignees

Labels

Good First IssueGood for newcomersPaper CutA small UX annoyance we should strive to improve

Projects

Status

Completed This Milestone

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions