From 5c6c871bb68fb3b1b51ef14855738a6aeadb6b9a Mon Sep 17 00:00:00 2001 From: bonamin Date: Fri, 27 Feb 2026 09:39:06 +0200 Subject: [PATCH] fix: Add a wait after the flash to the Provisioning tab --- .../src/manufacturing/ProvisioningWizard.jsx | 35 ++++++++++++------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/frontend/src/manufacturing/ProvisioningWizard.jsx b/frontend/src/manufacturing/ProvisioningWizard.jsx index 53b5f32..4aae90f 100644 --- a/frontend/src/manufacturing/ProvisioningWizard.jsx +++ b/frontend/src/manufacturing/ProvisioningWizard.jsx @@ -533,7 +533,7 @@ function StepFlash({ device, onFlashed }) { appendSerial("── Serial monitor started (115200 baud) ──"); startSerialMonitor(port); - onFlashed(); + // Do NOT auto-advance — user clicks "Proceed to Verify" when ready } catch (err) { setError(err.message || String(err)); setFlashing(false); @@ -588,17 +588,28 @@ function StepFlash({ device, onFlashed }) { )} {!busy && ( - +
+ + {done && ( + + )} +
)} {flashing && (