Cron-plus: track connections on schedule list move

Hi There!

I think I found an inconsistency in cron-plus compared to switch node and I'm not sure whether it's desired or not.

If I have multiple outputs in a switch and I move the conditions around in the list:

Screen Shot 2023-08-31 at 12.40.50

the outputs will be "sticky", i.e. connections are maintained as they are. Moving 3 above 2 in the above would cause crossed wires - visually.

If I do the same in the cron-plus node:

Screen Shot 2023-08-31 at 12.44.23

If I move schedule2 above schedule1 then the node that was connected to schedule1 will then be connected to schedule2 and conversely: the node that was connected to schedule2 will be connected to schedule1.

That's confusing but visual since after moving the schedules around, the wires visually looked the same - swapping two schedules should have caused cross wires.

Is that intended?

Cheers!

Not intended - more like an oversight :angel:

If you could please raise an issue, I will look at it.

Thanks.

ok done - Cron-plus: track connections on schedule list move · Issue #67 · Steve-Mcl/node-red-contrib-cron-plus · GitHub

Cheers!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.