From 670252b23042c218c67cc027d602808574d3f009 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 10 May 2026 22:38:47 +0200 Subject: [PATCH] refactor(web): remove legacy service-options table and Telnet URL Targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Plan card's per-field URL editor now drives both XML and Telnet migrations via the same marge_url / stats_url / sw_update_url / bmx_url options, so the two duplicate places that used to set those values are gone: - The XML method's "Service Implementations" table (#service-options) with its self/proxied/original dropdowns. The legacy options keys (marge / stats / sw_update / bmx) stay accepted by the backend's applyProxyOptions for any direct API user, but the UI no longer sets them. - The "URL Targets" sub-pane inside #telnet-method-pane with its parallel set of telnet-marge-url / etc. inputs and its own Reset-to-defaults button. The Telnet pane retains its explanatory header and limitations note (no CA install, pairing panel below) — only the duplicate URL editor is gone. Stripped the now-dead JS: - showSummary's #service-options visibility toggle and parsed_current_config-driven population of orig-marge etc. - showSummary's reads of opt-marge / opt-stats / opt-sw_update / opt-bmx in the summary query string. - migrate's reads of those same fields in the migrate query string. - fillTelnetURLInputs / readTelnetURLOptions / resetTelnetURLsToDefaults / defaultTelnetURLs entirely. - renderTelnetPreflight entirely (its writes were all into the removed elements; the state card and Plan card now own all the surfaces it used to populate). - toggleMigrationMethod's serviceOptions branches. Co-Authored-By: Claude Opus 4.7 (1M context) --- pkg/service/handlers/web/index.html | 172 -------------------------- pkg/service/handlers/web/js/script.js | 160 ++---------------------- 2 files changed, 9 insertions(+), 323 deletions(-) diff --git a/pkg/service/handlers/web/index.html b/pkg/service/handlers/web/index.html index f4a943f..275b9cc 100644 --- a/pkg/service/handlers/web/index.html +++ b/pkg/service/handlers/web/index.html @@ -967,84 +967,6 @@ streaming work.

-

URL Targets

-

- Pre-filled from the target URL above. Most users leave - these as-is. If you redirect to a fork like - soundcork - that mounts marge under /marge, append the - suffix here — the matching envswitch boseurls set - argument is derived automatically. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldCurrent on DeviceTarget URL
Marge - -
Stats - -
Software Update - -
BMX Registry - -
-
- -
- -
- -