fix(kanban-dashboard): make Orchestration mode checkbox label static

The checkbox label echoed its state ("Auto (default)" / "Manual") instead
of describing the action, so a checked box reading "Auto" parsed as a
status indicator rather than a control. The accompanying sub-description
was also static and started with "When on, ...", which read awkwardly
when the box was unchecked.

Replace the dynamic label with a static action label
("Auto-decompose triage tasks") and flip the sub-description between the
two modes so it stays accurate either way. The top-of-page Orchestration
pill is unchanged — that one is intentionally a status badge / toggle.

Fixes #28178

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
maxmilian
2026-05-18 20:26:12 -07:00
committed by Teknium
parent 4da4133d34
commit 2dec7604e2
+4 -2
View File
@@ -1593,10 +1593,12 @@
saveSettings({ auto_decompose: !!e.target.checked });
},
}),
settings.auto_decompose ? "Auto (default)" : "Manual",
"Auto-decompose triage tasks",
),
h("div", { className: "text-[10px] text-muted-foreground" },
"When on, the dispatcher decomposes new triage tasks automatically."),
settings.auto_decompose
? "The dispatcher decomposes new triage tasks automatically."
: "Triage tasks stay in triage until you click ⚗ Decompose."),
),
) : h("div", { className: "text-xs text-muted-foreground" },
"Loading…"),