fix(webui): drop settings hints that restate their label

This commit is contained in:
sam committed 2026-10-13 18:11:12 +11:00
1 parent cd983c7877
commit 5d909026d8
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ const pullPolicy = computed({
<DraftHint :kind="KIND" path="max_concurrency" />
</div>
</SettingRow>
<SettingRow label="Max uptime" for="cr-uptime" hint="Agent container time limit.">
<SettingRow label="Max uptime" for="cr-uptime">
<div class="flex flex-wrap items-center gap-3">
<DurationInput id="cr-uptime" v-model="runtime.max_uptime" :units="['m', 'h']" />
<DraftHint :kind="KIND" path="max_uptime" />
+2 -2
View File
@@ -72,7 +72,7 @@ const taskRuntime = seconds("max_task_runtime_seconds");
<SettingRow label="Alert webhook" hint="Receives each raised and resolved alert. Empty disables." for="task-notify">
<div class="flex flex-wrap items-center gap-3"><Input id="task-notify" v-model="policy.notify_webhook" type="url" class="max-w-md" /><DraftHint :kind="POLICY" path="notify_webhook" /></div>
</SettingRow>
<SettingRow label="Webhook severity" hint="The lowest severity delivered.">
<SettingRow label="Webhook severity" hint="Minimum severity.">
<div class="flex flex-wrap items-center gap-3">
<Select :model-value="policy.notify_min_severity || 'warning'" @update:model-value="policy.notify_min_severity = String($event)">
<SelectTrigger class="w-40" aria-label="Webhook severity"><SelectValue /></SelectTrigger>
@@ -114,7 +114,7 @@ const taskRuntime = seconds("max_task_runtime_seconds");
<DraftHint :kind="KIND" path="max_model_tool_steps" />
</div>
</SettingRow>
<SettingRow label="Gate failures in a row" hint="In a row, then parked.">
<SettingRow label="Gate failures in a row" hint="Then parked.">
<div class="flex flex-wrap items-center gap-3">
<NumberField v-model="limits.max_consecutive_gate_failures" :min="0" class="w-32">
<NumberFieldContent>