Editing UI: Moving else-if together with children

Fabian42

New member
Motivation: I have a macro that replaces my regular mail notification and has over 30 chained else-if conditions for modifications to the notification in various cases. The more I add, the longer it's taking to find anything, because all the else-if conditions are not in any logical order, but just in the one in which I added them. I could move the else-if and then every child, but that's very error-prone.
If it ever gets so long that reordering becomes necessary, I would likely add dummy actions as markers before and after the block, both at the source and the target position, to reduce my confusion, but of course it would be much nicer if I could just move the condition and all of the child actions at once.

The way to implement this would be with the same folding as is already possible for example with "if" blocks. This feature already exists for those and is pretty intuitive.

(Attached is a pixelated view of that macro, just to see its length, for fun.)
 

Attachments

  • mail_notif2.png
    mail_notif2.png
    46 KB · Views: 7
Top