Retire the guardian toggle over a pref nothing reads

The evidence disclosure stopped honouring showEvidenceByDefault in
v1.4.27 and the owner surface retired the control with it — but the
managed-record coach form still offered the switch, silently governing
nothing. Remove the control, the managed-schema pick, the response
field, and the label in all six locales; the strict schema now refuses
the key outright.
This commit is contained in:
Marc-André Bombeck committed 2026-08-14 01:56:25 +02:00
1 parent 15fb5dbbdb
commit a45dde2039
10 files changed
+18 -17

No files matched your search

@@ -734,7 +734,6 @@ function CoachSettingsForm({
excludeMetrics: COACH_EXCLUDE_METRICS.filter(
(metric) => form.get(`exclude-${metric}`) === "on",
),
showEvidenceByDefault: form.get("showEvidenceByDefault") === "on",
defaultWindow: asString(form.get("defaultWindow"), "allTime"),
...(form.get("useCustomClusters") === "on"
? {
@@ -817,12 +816,6 @@ function CoachSettingsForm({
</NativeSelect>
</label>
</div>
<ManagedSwitchRow
name="showEvidenceByDefault"
label={t("settings.sharedRecord.managedSettings.coach.showEvidence")}
defaultChecked={preferences.showEvidenceByDefault === true}
disabled={disabled}
/>
<fieldset className="space-y-2">
<legend className="text-sm font-medium">
{t("settings.sharedRecord.managedSettings.coach.excludedMetrics")}