From bad023ccad8bbfb12bd9be9670874f9f1a2c421c Mon Sep 17 00:00:00 2001
From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com>
Date: Fri, 27 Mar 2026 09:10:51 -0700
Subject: [PATCH] fix: hide packet detail pane on fresh page load
Add detail-collapsed class to split-layout initial HTML so the empty
right panel is hidden before any packet is selected. The class is
already removed when a packet row is clicked and re-added when the
close button is pressed.
Add 3 tests verifying the detail pane starts collapsed and that
open/close toggling is wired correctly.
Bump cache busters.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
public/index.html | 54 ++++++++++++++++++++--------------------
public/packets.js | 2 +-
test-frontend-helpers.js | 24 ++++++++++++++++++
3 files changed, 52 insertions(+), 28 deletions(-)
diff --git a/public/index.html b/public/index.html
index 111d04a..3b5f6cd 100644
--- a/public/index.html
+++ b/public/index.html
@@ -22,9 +22,9 @@
-
-
-
+
+
+
@@ -81,29 +81,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+