From 7f5cc96bd99f0868b43ac28f692a54bb40acd00a Mon Sep 17 00:00:00 2001 From: Kpa-clawbot Date: Tue, 26 May 2026 07:47:11 -0700 Subject: [PATCH] =?UTF-8?q?chore(debug-1396):=20nav-instrumentation=20bann?= =?UTF-8?q?er=20=E2=80=94=20gated=20on=20hash=20=3Fnavdebug=3D1=20(#1398)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Temporary diagnostic patch for #1396 (mobile / narrow-desktop nav priority reports). Adds a single instrumentation block at the END of `applyNavPriority()` in `public/app.js`, gated on `navdebug=1` appearing in the URL hash. No nav behavior change; reverted once root cause is known. ## What it does When the URL hash contains `navdebug=1` (e.g. `/#/channels?navdebug=1`), the function: 1. Paints a fixed-position green-on-black banner pinned to the bottom of the viewport (`z-index:99999`, `pointer-events:none` so it never blocks interaction) showing: ``` [NAV-DEBUG-1396] vw= total=N visible=N overflow=N hidden-by-css=N active=