autoexpand groups on warnings

3clyp50 committed Jan 6, 2026 at 19:13 UTC 372d2bffa6d424425770ee3b7f5167dccc421e01
1 file changed +5
webui/js/messages.js
+5
@@ -1381,6 +1381,11 @@ function addProcessStep(group, id, type, heading, content, kvps, timestamp = nul
1381 const parentStep = currentDelegationSteps[agentNumber - 1];
1382 appendTarget = getNestedContainer(parentStep);
1383 step.classList.add("nested-step");
1384 +
1385 + // Auto-expand parent if this nested step is a warning/error
1386 + if (type === "warning" || type === "error") {
1387 + parentStep.classList.add("step-expanded");
1388 + }
1389 }
1390
1391 // Remove status-active from all previous steps (only the current step is active)