From 0199e5108c2efb5141b3f3d6c1610c30450be32c Mon Sep 17 00:00:00 2001 From: jay Date: Tue, 9 Jun 2026 16:46:25 -0400 Subject: [PATCH] Digest CTA: clear pending opt-in if sign-in is cancelled Per Codex polish: if someone taps 'Get tomorrow's brief' then dismisses sign-in without authing, clear pendingDigestOptIn (guarded by !auth.user so a successful sign-in still auto-enables via the $effect). Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/src/routes/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 4aff689..5a307c0 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -405,7 +405,7 @@
(showSaved = true)} onaccount={openAccount} user={auth.user} boundariesActive={filtersOn} /> -{#if showSignIn} (showSignIn = false)} />{/if} +{#if showSignIn} { showSignIn = false; if (!auth.user) pendingDigestOptIn = false; }} />{/if} {#if showSaved && auth.user} (showSaved = false)} />{/if} {#if showLanes && lanePool} (showLanes = false)} />