-
- {/* v1.18.6 — restore the one-line "what this section does" hint. */}
-
- {t("settings.sections.modules.toggleable.description")}
-
-
- {(Object.keys(MODULE_REGISTRY) as ModuleKey[]).map((key) => {
- const def = MODULE_REGISTRY[key];
- // Default-on: a module is enabled unless explicitly `false`.
- const enabled = modules[key] !== false;
- // Delegated modules (cycle/coach) are owned elsewhere — never a
- // live toggle here; deep-link to their real control instead.
- const delegated = moduleDelegatesTo(key) !== undefined;
- // Operator turned this module off server-wide: no per-user
- // toggle can re-enable it, so show a read-only note. Delegated
- // rows already deep-link, so this only matters for owned keys.
- const operatorDisabled =
- !delegated && moduleAvailability[key] === false;
- return (
- toggle.mutate({ key, enabled: next })}
- />
- );
- })}
-
-
-
- {/* Core domains — always on, read-only */}
-
-
-
- {CORE_DOMAIN_KEYS.map((key) => (
+
+
+ {/* v1.18.6 — restore the one-line "what this section does" hint. */}
+
+ {t("settings.sections.modules.toggleable.description")}
+
+
+ {(Object.keys(MODULE_REGISTRY) as ModuleKey[]).map((key) => {
+ const def = MODULE_REGISTRY[key];
+ // Default-on: a module is enabled unless explicitly `false`.
+ const enabled = modules[key] !== false;
+ // Delegated modules (cycle/coach) are owned elsewhere — never a
+ // live toggle here; deep-link to their real control instead.
+ const delegated = moduleDelegatesTo(key) !== undefined;
+ // Operator turned this module off server-wide: no per-user
+ // toggle can re-enable it, so show a read-only note. Delegated
+ // rows already deep-link, so this only matters for owned keys.
+ const operatorDisabled =
+ !delegated && moduleAvailability[key] === false;
+ return (
toggle.mutate({ key, enabled: next })}
/>
- ))}
-
+ );
+ })}
-
+
);
}
diff --git a/src/components/settings/mood-section.tsx b/src/components/settings/mood-section.tsx
index 5f31a7b58..dff7c7019 100644
--- a/src/components/settings/mood-section.tsx
+++ b/src/components/settings/mood-section.tsx
@@ -40,17 +40,10 @@ export function MoodSection() {
);
+ // v1.18.6 (W9) — the visible heading + subtitle now come from the shared
+ // `