From 0b82ca791e2fee2a171c21b34bea4dc32f164196 Mon Sep 17 00:00:00 2001
From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com>
Date: Mon, 30 Mar 2026 18:37:37 -0700
Subject: [PATCH] Fix #249 BYOP dialog stacking and close behavior
- Prevent leaked document click handlers from stacking across packets page init
- Ensure BYOP dialog is singleton and close removes all overlay layers
- Add frontend regression tests for BYOP overlay and handler de-dup
- Bump public asset cache busters
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
public/index.html | 56 ++++++++++++++++++++--------------------
public/packets.js | 37 +++++++++++++++++++++-----
test-frontend-helpers.js | 23 +++++++++++++++++
3 files changed, 82 insertions(+), 34 deletions(-)
diff --git a/public/index.html b/public/index.html
index 36cc440d..fb43f146 100644
--- a/public/index.html
+++ b/public/index.html
@@ -22,9 +22,9 @@
-
-
-
+
+
+
@@ -81,30 +81,30 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+