From f63274469e81c54e862659ff73df228fe4e9c959 Mon Sep 17 00:00:00 2001 From: Simbiot Harness Date: Fri, 2 Oct 2026 23:07:11 +0000 Subject: [PATCH] =?UTF-8?q?dash:=20deep-link=20=3Fview=3Dchat=20(chat=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BA=D1=80=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=D1=81?= =?UTF-8?q?=D1=8F=20=D0=BF=D0=BE=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B5);?= =?UTF-8?q?=20landing=20v3:=20product-showcase=20=D1=81=D0=B5=D0=BA=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20=D1=81=20=D1=87=D0=B5=D1=81=D1=82=D0=BD=D1=8B?= =?UTF-8?q?=D0=BC=D0=B8=20=D1=81=D0=BA=D1=80=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8?= =?UTF-8?q?=20=D0=B6=D0=B8=D0=B2=D0=BE=D0=B3=D0=BE=20=D0=B4=D0=B0=D1=88?= =?UTF-8?q?=D0=B1=D0=BE=D1=80=D0=B4=D0=B0/=D1=87=D0=B0=D1=82=D0=B0=20(/sta?= =?UTF-8?q?tic/*.png),=20prod=20synced?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- harness/dashboard.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/harness/dashboard.html b/harness/dashboard.html index c05dc5e..738c3e4 100644 --- a/harness/dashboard.html +++ b/harness/dashboard.html @@ -318,7 +318,13 @@ function setView(v){ try { localStorage.simbiotView = v; } catch(e){} if (v === "chat") { chatTick(); } // первый рендер сразу, без ожидания таймера } -try { const v0 = localStorage.simbiotView; if (v0 === "chat") setView("chat"); } catch(e){} +try { + // deep-link: ?view=chat|dash (проверяемый вход «открыть чат по ссылке», приоритет над localStorage) + const q = new URLSearchParams(location.search).get("view"); + const ql = q === "chat" ? "chat" : (q === "dash" ? "dash" : null); + const v0 = ql || localStorage.simbiotView; + if (v0 === "chat") setView("chat"); +} catch(e){} const CHAT_REFRESH = 10; // сек: канал тикает по сек-рефлексу, чаще нет смысла let chatTimer = null;