mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
Remove the Health-Score explainer switch, which switched nothing
The admin panel offered a toggle for the Health-Score explainer and described it as the ? next to the delta line. That ? had already been taken off the insights surface a release earlier, and the caption that replaced it went away entirely when the health score was replaced by the reference composite. Since then an operator could turn the switch off, get a saved confirmation, and change absolutely nothing. The toggle, its wording in all six languages, its place in the flag matrix the app and the iOS client both read, and its column on app_settings are all gone. Nothing is left to promise a control that does not exist. A guard goes in with it: every remaining assistant sub-flag has to be read by some surface, and the panel and the plumbing that carry all of them by construction do not count as proof.
This commit is contained in:
1 parent
8e6880b04c
commit
80c8674ee1
35 files changed
+169
-131
No files matched your search
@@ -0,0 +1,13 @@
|
||||
-- Remove the Health-Score explainer operator switch.
|
||||
--
|
||||
-- The toggle gated a caption beside the Health-Score delta line. That
|
||||
-- caption's component was deleted when the health score was replaced by
|
||||
-- the reference composite, and the trailing "?" affordance the admin
|
||||
-- description still named had already been retired a release earlier.
|
||||
-- The switch has had nothing to switch since; an operator flipping it
|
||||
-- changed nothing while being told they had.
|
||||
--
|
||||
-- Destructive by design: the setting is gone, so its stored value goes
|
||||
-- with it.
|
||||
ALTER TABLE "app_settings"
|
||||
DROP COLUMN IF EXISTS "assistant_health_score_explainer_enabled";
|
||||
@@ -4364,10 +4364,10 @@ model AppSettings {
|
||||
defaultUserTimezone String? @map("default_user_timezone") @db.VarChar(64)
|
||||
|
||||
// v1.4.31 — Assistant-surface operator feature flags. The master
|
||||
// gates every LLM-driven surface app-wide; five sub-flags carve
|
||||
// gates every LLM-driven surface app-wide; four sub-flags carve
|
||||
// the visibility cut per surface (Coach drawer + chat, Daily
|
||||
// Briefing + advisor, per-metric status cards, correlation
|
||||
// narration, Health-Score delta explainer). Defaults preserve the
|
||||
// narration). Defaults preserve the
|
||||
// v1.4.30 behaviour (every surface visible) so upgrades require
|
||||
// no admin action. The runtime resolver in
|
||||
// `src/lib/feature-flags/index.ts` forces every sub-flag false
|
||||
@@ -4376,12 +4376,11 @@ model AppSettings {
|
||||
// flag matrix gates server-routed AND iOS on-device surfaces, so
|
||||
// operators can opt out of every assistant surface regardless of
|
||||
// where the model runs.
|
||||
assistantEnabled Boolean @default(true) @map("assistant_enabled")
|
||||
assistantCoachEnabled Boolean @default(true) @map("assistant_coach_enabled")
|
||||
assistantBriefingEnabled Boolean @default(true) @map("assistant_briefing_enabled")
|
||||
assistantInsightStatusEnabled Boolean @default(true) @map("assistant_insight_status_enabled")
|
||||
assistantCorrelationsEnabled Boolean @default(true) @map("assistant_correlations_enabled")
|
||||
assistantHealthScoreExplainerEnabled Boolean @default(true) @map("assistant_health_score_explainer_enabled")
|
||||
assistantEnabled Boolean @default(true) @map("assistant_enabled")
|
||||
assistantCoachEnabled Boolean @default(true) @map("assistant_coach_enabled")
|
||||
assistantBriefingEnabled Boolean @default(true) @map("assistant_briefing_enabled")
|
||||
assistantInsightStatusEnabled Boolean @default(true) @map("assistant_insight_status_enabled")
|
||||
assistantCorrelationsEnabled Boolean @default(true) @map("assistant_correlations_enabled")
|
||||
|
||||
// v1.18.0 — operator-level server-wide module availability. A DISABLED
|
||||
// allowlist mirroring the per-user `User.modulePreferencesJson`: absent /
|
||||
|
||||
Reference in new issue
Block a user