From f106275643608c5cd63affe55d9637b0da4f2ba0 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 May 2026 22:23:35 +0000 Subject: [PATCH] test(home): replace clutter outliner with click-to-inspect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User reported the previous diagnostic was too cluttered to read, and the white bar showed no outline anyway — meaning the flat ``querySelectorAll('body *')`` walker missed it (likely inside an iframe's contentDocument, which the script didn't recurse into). New approach: a single red button "CLAUDE: click here, then click the white bar" in the top-right. Clicking the button arms an inspect handler. The next click anywhere on the page reports the full element stack at that point via ``elementsFromPoint`` AND recursively descends into any same-origin iframe at the click location, so iframe contents are no longer invisible. A black report panel lists every element in the stack with its tag/id/testid/class, position, z-index, background color, and bounding rect — TOP element highlighted in red. User clicks the white bar exactly once and we know what it is. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/gui/_home.py | 226 +++++++++++++++++++++++++---------------------- 1 file changed, 119 insertions(+), 107 deletions(-) diff --git a/src/gui/_home.py b/src/gui/_home.py index 509ae57..66db2fb 100644 --- a/src/gui/_home.py +++ b/src/gui/_home.py @@ -310,33 +310,22 @@ def _home_page() -> None: """ """,