From 848cd962c4a43f115d7875051c1aac95470e4489 Mon Sep 17 00:00:00 2001 From: Adriano Dal Pastro Date: Wed, 20 May 2026 12:47:34 +0200 Subject: [PATCH] fix(gui): conferma esplicita su Muovi quando dry-run off Coerente con le conferme di Home e Custom: gesto fisico richiede consenso. Co-Authored-By: Claude Opus 4.7 (1M context) --- web/right_arm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/right_arm.js b/web/right_arm.js index 3ec5aaa..7779c0d 100644 --- a/web/right_arm.js +++ b/web/right_arm.js @@ -268,6 +268,7 @@ async function onMove() { const className = $('raWristClass').value; const conf = parseFloat($('raWristConf').value) || null; const dryRun = $('raMoveDryRun').checked; + if (!dryRun && !confirm('Dry-run OFF: eseguire move REALE verso il pezzo?')) return; try { const res = await jsonFetch('/api/right_arm/move/toward', { method: 'POST', headers: { 'Content-Type': 'application/json' },