mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
test(coach): register the conversation-history page on the disable invariants
The dedicated conversation-history page gates on the operator master flag and the per-user opt-out like the main Coach route, so add it to both grep-based gate-site allowlists.
This commit is contained in:
1 parent
fd2b5b06b8
commit
69dcf6919d
2 files changed
+8
No files matched your search
@@ -284,6 +284,10 @@ describe("Coach disable cascade invariant", () => {
|
||||
// redirects to `/insights` when the operator master flag is off.
|
||||
// v1.18.0 — moved to the standalone top-level `/coach` route.
|
||||
"src/app/coach/page.tsx",
|
||||
// v1.21.4 — the dedicated conversation-history page gates on
|
||||
// `flags.coach` like the main Coach route and renders unavailable
|
||||
// when the operator master flag is off.
|
||||
"src/app/coach/conversations/page.tsx",
|
||||
// v1.15.20 — the proactive Coach-nudge cron short-circuits on
|
||||
// `flags.coach` (gate 1) so an operator kill-switch also silences
|
||||
// the nudges. Server-side cron, not a render path — the cascade
|
||||
|
||||
@@ -298,6 +298,10 @@ describe("Coach per-user disableCoach invariant", () => {
|
||||
// page back to `/insights` instead of painting a dead chat shell.
|
||||
// v1.18.0 — moved to the standalone top-level `/coach` route.
|
||||
"src/app/coach/page.tsx",
|
||||
// v1.21.4 — the dedicated conversation-history page mirrors the
|
||||
// Coach route gate: operator master flag OR per-user opt-out marks
|
||||
// the page unavailable instead of painting a dead history shell.
|
||||
"src/app/coach/conversations/page.tsx",
|
||||
// The hook itself + its `useAuth`-backed reader.
|
||||
"src/hooks/use-disable-coach.ts",
|
||||
// Cross-cut gates owned by sibling invariants / route tests.
|
||||
|
||||
Reference in new issue
Block a user