node-red / node-red

Low-code programming for event-driven applications
http://nodered.org
Apache License 2.0
18.93k stars 3.31k forks source link

Add tooltip and message validation to `typedInput` #4747

Closed GogoVega closed 2 weeks ago

GogoVega commented 3 weeks ago

Proposed changes

TL;DR; This PR adds support for a validation message to all inputs. This allows node validation to be more precise in case of an error.

This PR adds the following features/changes:

This PR is linked to #4450 and was discussed in the Forum.

TODO:

Checklist

GogoVega commented 3 weeks ago

I like the idea I will modify it 😉 What about normalisePropertyExpression translations? For 4.1?

knolleary commented 3 weeks ago

I cannot remember if the english messages in that function end up surfacing to the end user. There are lots of messages... wary of making a huge translation burden. I'd keep it on the todo list personally, don't feel strongly either way.