warning on unknown op

This commit is contained in:
Bane Stojkovic
2026-10-28 09:16:38 +01:00
parent 36fc5e119c
commit 4d04fe8491
2 changed files with 12 additions and 1 deletions
@@ -130,8 +130,15 @@ public class AiEditScriptEditor implements IProjectEditor {
}
private void apply(AiEditOperation op, IAiEditHandler handler, AiEditContext context) {
// an action this version does not know is skipped, as it always has been
// the service may be newer than this build and propose actions it does not know yet; those
// are skipped so that the rest of the script still applies
if (handler == null) {
if (op.getAction() != null) {
warnings.add("Operation '" + op.getAction() + "'"
+ (op.getComponentName() != null ? " on " + op.getComponentName() : "")
+ " is not supported by this version of DIYLC and was skipped."
+ " Please upgrade to the latest version.");
}
return;
}
try {
@@ -669,6 +669,10 @@
<changeType>NEW_FEATURE</changeType>
<description>AI Assistant can actively participate in circuit design, make changes to the project and designs circuits from scratch</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>NEW_FEATURE</changeType>
<description>Added 6PDT and 6PDT On/Off/On toggle switch types</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Rotating and mirroring the selection with 'Sticky Points' enabled now keeps the circuit connected, the same way moving it does - wires and leads stuck to the selection stay attached to their pins, and other rigid components stuck to it are rotated or mirrored along with it</description>