-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Indication that some of the connectors mandatory properties are… #659
Conversation
Point 1No, I don't think we should re-render the Canvas component when model properties are updated, this will happen on every keystroke, and best case scenario, if we debounce this operation, we'll see a flickering, IMHO, we should avoid this situation as much as possible. Maybe we should try to see this problem from a different perspective, we would like to only re-render the nodes that change, so what about updating a timestamp whenever the model changes, this way we could identify and cause a new render for the node, and this might also update the description as well. Point 2 & 3I think we might need to drop |
That sounds good, what is the timestamp specifically? Is it something in
yep maybe better to do so from beginning, will do. |
fb9cdb6
to
f03624e
Compare
Trying to capture CanvasForm change for CustomNode re-render without luck... now the node status is updated when the other node is selected, but not immediately after the model change |
6523ba7
to
1a1f066
Compare
Done 2024-01-18.12-32-32.mp4 |
Some of the story gets the warning node status icon, possibly because the requried parameter is in URI, looking Updatethis is caused by the required parameters specified in the URI - #674 |
… not yet configured Fixes: KaotoIO#126
@igarashitm I'm not 100% sure, but could be possible that |
Alright, if I "touch" the field, then it gets updated, so probably means that the values used by the validation are before the parsing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's still a pending issue: #674
… not yet configured
Fixes: #126
Using Ajv and component schema for the validation.
3 concerns:
expression.simple.expression
vssimple
- currently they're just ignoredUPDATE
NodeStatus.warning
to indicate missing required parameter, andNodeStatus.default
for steps that doesn't have any validation error.NodeStatus.default
doesn't show any status icon.2024-01-18.12-32-32.mp4