From 086cbc03113ddba9c3be0441694e518eccc37c6c Mon Sep 17 00:00:00 2001 From: iris Date: Tue, 26 May 2026 00:47:20 +0200 Subject: [PATCH] dashboard: drop misleading manager-special bulk-stop confirm (#443) mirror of the #445 fix on the bulk-action side: mara's dont --- frontend/packages/dashboard/src/app.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/frontend/packages/dashboard/src/app.js b/frontend/packages/dashboard/src/app.js index d2c673bb..3a597a8d 100644 --- a/frontend/packages/dashboard/src/app.js +++ b/frontend/packages/dashboard/src/app.js @@ -796,18 +796,13 @@ window.marked = marked; }); // #443 also lifts the manager-stop guard: when the whole selection // is running, ST0P applies — manager included. host-side hive-c0re - // keeps serving the dashboard either way. Per-agent confirm message - // calls out the manager case ("approvals pause until restart") when - // the manager is in the set. + // keeps serving the dashboard either way + per-agent approvals + + // meta-input updates still work without the manager up, so we + // don't special-case the confirm prompt when the manager is in + // the selection (mara: "dont special case manager for stopping"). addBulkButton(actions, 'btn-stop', '■ ST0P', allRunning, selected, { action: '/kill/', - confirm: (names) => { - const hasManager = selected.some((c) => c.is_manager); - const base = `stop ${names.length} agent${names.length === 1 ? '' : 's'} (${names.join(', ')})?`; - return hasManager - ? base + ' approvals + meta operations pause until the manager is restarted.' - : base; - }, + confirm: (names) => `stop ${names.length} agent${names.length === 1 ? '' : 's'} (${names.join(', ')})?`, disabledTitle: why('■ ST0P', stoppedNames.map((n) => `\`${n}\` is already stopped`)), }); addBulkButton(actions, 'btn-start', '▶ ST4RT', allStopped, selected, {