From af45c3222230086d8eeb7ef4e170a06e0f3cc376 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Wed, 11 Mar 2026 07:22:36 +0100 Subject: [PATCH] [feat](trx-frontend-http): vchan freq display sync, BW accent, scheduler multi-channel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Virtual channel display: - vchan.js: wrap refreshFreqDisplay() so the main freq field always shows the active virtual channel's frequency instead of channel 0's; expose vchanSyncAccentUI() to add vchan-ch-active CSS class (colored border) to #freq and #spectrum-bw-input when on a non-primary channel - style.css: --vchan-color (#38bdf8 sky-blue), .vchan-ch-active box-shadow, vchan-picker active button left-border accent Scheduler multi-channel slots: - scheduler.rs: add center_hz (Option) and bookmark_ids (Vec) to ScheduleEntry; SchedulerStatus gains last_center_hz and last_bookmark_ids; background task sends SetCenterFreq before SetFreq when center_hz is set and records extra bookmark_ids in status - scheduler.js: center-freq input and extra-channel bookmark picker (tag list with + / × buttons) in the add-entry form; extra channels shown in the entries table - index.html: center freq field + extra bookmark picker widgets; table gains Center freq and Extra channels columns Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Stan Grams --- .../trx-frontend-http/assets/web/index.html | 14 +++- .../assets/web/plugins/scheduler.js | 81 ++++++++++++++++--- .../assets/web/plugins/vchan.js | 52 +++++++++++- .../trx-frontend-http/assets/web/style.css | 33 +++++++- .../trx-frontend-http/src/scheduler.rs | 45 ++++++++++- 5 files changed, 209 insertions(+), 16 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html index 719a5f9..131338e 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html @@ -728,7 +728,7 @@ - +
StartEndBookmarkLabelInterleave (min)
StartEndCenter freqPrimary bookmarkExtra channelsLabelInterleave (min)
@@ -739,9 +739,19 @@ -