From 967d516d4d2d3b1382ae437c62f5df6c5dd10b24 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 10 May 2026 22:52:42 +0200 Subject: [PATCH] fix(web): pair Current/Planned diffs per axis instead of mixing them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With XML+resolv selected together, the bottom panes rendered as "Current XML | Planned XML | Planned resolv hook" plus a separate full-width "Current /etc/resolv.conf" block above — three panes plus a hanger above, each pair scattered. Restructured into two side-by-side .diff-container rows that each pair their own Current/Planned columns: - #xml-diff-row — Current Config (on Speaker) | Planned Config (AfterTouch) - #resolv-diff-row — Current /etc/resolv.conf | Planned /etc/resolv.conf Hook current-resolv-pane moved out of its standalone wrapper into the resolv row. The deprecated #planned-hosts-pane is removed entirely (hosts is no longer offered as a method, per the earlier UI cleanup). onCustomizeChange now toggles the row IDs instead of per-pane IDs, and uses display:"" rather than display:"block" so the .diff-container flex layout isn't accidentally overridden. Co-Authored-By: Claude Opus 4.7 (1M context) --- pkg/service/handlers/web/index.html | 46 +++++++-------------------- pkg/service/handlers/web/js/script.js | 17 +++++----- 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/pkg/service/handlers/web/index.html b/pkg/service/handlers/web/index.html index 97520bc..2fcbc7f 100644 --- a/pkg/service/handlers/web/index.html +++ b/pkg/service/handlers/web/index.html @@ -968,15 +968,6 @@ -
-
+ + - + + +