If you allow me the off topic, I’ll delete it later:
use Imgur.
Integrates pretty well, check it out:
Don’t delete, I’ll have forgotten by the time I need it ![]()
@rlkoshak This is how I’ve made it handle if you edit a rule so that it’s no longer DSL compatible:

It has to be “The current object isn’t compatible with” because the code editor is common. Otherwise, it would have said “rule”. But, do you think this is an acceptable way to handle it?
yes, the user will know what they changed since the last save.
I’m looking at how to provide hints for rules in the editor. From what I can see, this is a very manual process where you basically have to write code that figures out where you are and what options to offer. Making this “comprehensive” looks to be a mammoth task. I’ll spend a bit more time at it, but I think I’ll end up leaving most of that to somebody to enjoy making later.
I was hoping that there was some “really clever” system so that you could just provide the structure, but it seems not.
Providing YAML editing hints is clearly something that could take more or less forever. I’ve spent some days on it now, and I think I’ll just decide to stop where I am now.
I have gotten basic structural elements of a rule in, and suggestions for available (complete) module types, module type “type”, module type configuration options, script types etc. Much more could be made, but I think it should at least be of some help.
I haven’t even considered attempting to do the same for DSL.


I’ve added more buttons to the “Code” toolbar, so that you don’t have to switch tabs to enable/disable or run the rule while working in “Code view”. This leads to a challenge with small screens, so I’ve made it “degrade” as the width decreases. I hope you think it’s “functional”. I figured that the rule status isn’t that important, so it’s just dropped as the width declines. After that, various icon texts has to go.
Sorry for the jerkiness of the GIF, I have to cut them quite ruthlessly to get them below 1MB in size.

The icons all have tooltips, so it’s not “impossible” to figure out what they do even when the texts aren’t there, although a bit cumbersome on a mobile device.