From 88766819b2f45503f23cbc23c9ecb8701096c8f7 Mon Sep 17 00:00:00 2001 From: prismiwi2015 Date: Sat, 22 Aug 2026 11:37:06 +0200 Subject: [PATCH] Confirmations get the condition builder their copy promised MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "The first one whose conditions match is the one they see" has stood above the confirmations list since it existed — and there was no way to give a confirmation a condition. The schema carried the logic block, `atf_resolve_confirmation()` evaluated it on every submit, and the builder never drew an editor for it. Notifications had the same silent gap. The rule cards, joiners and Add-rule button move out of the field editor into a shared `logicRulesEditor()`, and a new Conditions section — "Only use this confirmation sometimes", all/any, the same choice-aware rule cards — joins both panes, writing the same Logic block fields write. Two bugs fell out of building it: - `rebindCanvas()` skipped every non-Build tab on the claim that the other panes write through `this.schema`. The confirmations and notifications panes do not — every control closes over the object it was rendered from, so after any autosave a Name typed or a rule added went to an orphaned copy and vanished at the next save with no error anywhere. Both tabs rebind now; the focus guard already keeps a rebuild from landing mid-keystroke. - The success-screen style tiles are