From e7a332cacd928dbe42c90b2d6ef27fd08935d3bc Mon Sep 17 00:00:00 2001 From: Mannu Date: Fri, 29 May 2026 01:05:00 +0530 Subject: [PATCH] =?UTF-8?q?tweak:=20install=20prompt=20snooze=20=E2=80=94?= =?UTF-8?q?=20Later=3D2d,=20No=20thanks=3D7d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/components/InstallPrompt.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/InstallPrompt.tsx b/src/components/InstallPrompt.tsx index 9de5f83..4bc91f8 100644 --- a/src/components/InstallPrompt.tsx +++ b/src/components/InstallPrompt.tsx @@ -15,10 +15,10 @@ const KEY_INSTALLED = "tia_installed"; // "1" once the user ins // How many sessions before we first ask (0-indexed — show on the 3rd session) const MIN_VISITS = 3; -// How long to wait before re-asking after a "Later" tap (7 days) -const SNOOZE_MS = 7 * 24 * 60 * 60 * 1000; -// After a hard "No thanks" (second dismiss) wait 30 days -const LONG_SNOOZE_MS = 30 * 24 * 60 * 60 * 1000; +// How long to wait before re-asking after a "Later" tap (2 days) +const SNOOZE_MS = 2 * 24 * 60 * 60 * 1000; +// After a hard "No thanks" wait 7 days +const LONG_SNOOZE_MS = 7 * 24 * 60 * 60 * 1000; function isSnoozed(): boolean { const until = localStorage.getItem(KEY_SNOOZED_UNTIL);