From c6a130673d90dd900ec47ef3302a1f35a1884402 Mon Sep 17 00:00:00 2001 From: ospab Date: Sat, 18 Jul 2026 16:30:44 +0300 Subject: [PATCH] fix(gui): remove duplicate junk/tcp-frag fields from the profile editor modal These were editable in two disconnected places: the profile editor modal (pm-* fields, written into each saved profile's own tcp_fragmentation/ frag_chunk/frag_sleep/junk_pc/junk_ps) and the simple settings page (cs-* fields, a global override applied at connect time via buildConfig()'s merge: `s.tcpFrag || active.tcp_fragmentation`, etc). The simple settings page already covers the same knobs, so the modal copy was pure duplication and a source of confusion about which one actually took effect. Removed the pm-tcp-settings panel and its fields from index.html, and all now-dead JS: the variable lookups, the open-editor populate/reset logic, the save-profile field writes (existing profiles keep their previously- saved values via the {...profiles[idx], ...} merge - only new edits through this modal no longer touch these fields), and the two change listeners whose sole job was showing/hiding the removed panel. The Transport (UDP/UoT) dropdown itself is untouched. --- ostp-gui/src/index.html | 49 ----------------------------------------- ostp-gui/src/main.js | 41 ---------------------------------- 2 files changed, 90 deletions(-) diff --git a/ostp-gui/src/index.html b/ostp-gui/src/index.html index cffeffb..a60e6cf 100644 --- a/ostp-gui/src/index.html +++ b/ostp-gui/src/index.html @@ -402,55 +402,6 @@ - - -