From 22311eb01cfaf91aaa4711875d83b1d2c13b684e Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 15 Mar 2026 17:09:12 +0100 Subject: [PATCH] [fix](trx-frontend-http): drop bidirectional requirement for decode paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bidirectional check required both A→B and B→A directed messages to draw a contact line, which was too strict — the receiver may not hear both sides of a QSO. Now a decode path is drawn whenever a directed message is decoded and the target's locator is known from any message in the 24 h history window. Also rename "Longest QSOs" → "Longest decode paths" and update related UI labels to better reflect what is actually shown. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Stan Grams --- .../trx-frontend/trx-frontend-http/assets/web/app.js | 4 ---- .../trx-frontend/trx-frontend-http/assets/web/index.html | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js index d2607f1..b4ee328 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js @@ -6319,11 +6319,7 @@ function rebuildDecodeContactPaths() { } } } - // Index directed messages by "SOURCE::TARGET" for QSO (bidirectional) check - const directedPairs = new Set(directedMessages.map((m) => `${m.source}::${m.target}`)); for (const msg of directedMessages) { - // A true QSO requires both A→B and B→A directed messages - if (!directedPairs.has(`${msg.target}::${msg.source}`)) continue; const targetLocator = stationLocators.get(msg.target); if (!targetLocator) continue; if (msg.sourceGrid === targetLocator.grid) continue; 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 27e271a..daf6944 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 @@ -752,7 +752,7 @@
- TRX paths on popup, directed contact paths when both locators are known + TRX paths on popup, directed decode paths when target locator is known
@@ -766,8 +766,8 @@
-
Longest QSOs
-
Top 5 directed decode contacts in the current map view
+
Longest decode paths
+
Top 5 directed decode paths in the current map view