From dc3c99b0ee9f1d766775791158fd3e416d93ef8f Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 1 Mar 2026 19:17:15 +0100 Subject: [PATCH] [feat](trx-frontend-http): add Bookmarks tab to web UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a "Bookmarks" tab between Main and Plugins in the tab bar. HTML: tab panel with toolbar (category filter + Add Bookmark button), an inline add/edit form (hidden by default, prefills freq/mode/BW from the current rig state), and a sortable table showing all columns with Tune / Edit / Del action buttons. CSS: responsive bm-* classes following existing card/button theming, works in both dark and light modes and all palette variants. bookmarks.js: fetches bookmarks on tab activation, renders table with event delegation, handles create/update/delete via REST, and applies a bookmark by calling set_freq → set_mode → set_bandwidth, plus toggles FT8/WSPR decoders when the stored mode is DIG. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Stan Grams --- .../trx-frontend-http/assets/web/index.html | 78 ++++- .../assets/web/plugins/bookmarks.js | 271 ++++++++++++++++++ .../trx-frontend-http/assets/web/style.css | 153 ++++++++++ 3 files changed, 499 insertions(+), 3 deletions(-) create mode 100644 src/trx-client/trx-frontend/trx-frontend-http/assets/web/plugins/bookmarks.js 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 ed37108..5367965 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 @@ -29,6 +29,7 @@
+ @@ -176,10 +177,12 @@
@@ -258,6 +261,74 @@
+