From a05aa70069edb3576557cc1395c2f379ddb22f30 Mon Sep 17 00:00:00 2001 From: Aaron Date: Sat, 13 Dec 2025 15:20:33 -0500 Subject: [PATCH] Onboarding: remove OS auto-open and QR, keep simple CTA --- pikit-web/onboarding/index.html | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/pikit-web/onboarding/index.html b/pikit-web/onboarding/index.html index 7a5c29a..458e7f8 100644 --- a/pikit-web/onboarding/index.html +++ b/pikit-web/onboarding/index.html @@ -78,15 +78,8 @@
- -
-
-
-

Use your phone

-

Scan to open http://pikit.local

-
- QR code to http://pikit.local -
+
+

Once trusted, this page will auto-forward you to the secure dashboard.

@@ -148,23 +141,7 @@ }); }); - // Auto-open matching OS section - const ua = (navigator.userAgent || "").toLowerCase(); - const platform = (navigator.platform || "").toLowerCase(); - const openOne = (id) => { - const el = document.getElementById(id)?.parentElement; - if (el && el.tagName === "DETAILS") { - el.setAttribute("open", ""); - detailBlocks.forEach((other) => { - if (other !== el) other.removeAttribute("open"); - }); - } - }; - const has = (s) => ua.includes(s) || platform.includes(s); - if (has("windows")) openOne("win"); - else if (has("mac")) openOne("mac"); - else if (has("linux")) openOne("linux"); - else if (has("bsd")) openOne("bsd"); + // No auto-open: let users expand the platform they need. if (hasCookie) { statusChip.textContent = "HTTPS trusted — redirecting…";