From 3eeff82d3eb60c657d146133372c947e5970bce1 Mon Sep 17 00:00:00 2001 From: Andrew Thomson Date: Fri, 6 Mar 2026 08:20:26 -0500 Subject: [PATCH] Fix: Skip welcome modal on hash deep links (#quadrance, etc.) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When arriving via a demo hash link (e.g. from native app Help menu), the info modal no longer blocks — the demo modal opens directly. Co-Authored-By: Andy & Claude --- modules/rt-info-modal.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/rt-info-modal.js b/modules/rt-info-modal.js index 52697e3..4a12448 100644 --- a/modules/rt-info-modal.js +++ b/modules/rt-info-modal.js @@ -14,7 +14,9 @@ export function initInfoModal() { const infoIconBtn = document.getElementById("info-icon-btn"); // Show modal on first load (check sessionStorage) - if (!sessionStorage.getItem("artexplorer-info-seen")) { + // Skip if arriving via hash deep link (e.g. #quadrance from native app) + const hasDeepLink = window.location.hash && window.location.hash.length > 1; + if (!hasDeepLink && !sessionStorage.getItem("artexplorer-info-seen")) { infoModalOverlay.classList.remove("hidden"); }