From 71fe884ae6eef4e2350bf78b8d987af337bb82f5 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Mar 2026 20:18:47 +0000 Subject: [PATCH] [fix](trx-frontend-http): show all rigs data on map panel regardless of active rig Remove rig_id filtering from dispatchDecodeMessage and dispatchDecodeBatch so that decode data from all rigs (including remote/non-primary) flows into the map. Also remove the rig_filter query param from decode history fetch so all history is loaded. The existing map rig filter dropdown handles visibility filtering via marker.__trxRigIds. https://claude.ai/code/session_01GGvdXKdEbRBnJa2BjAQuVB Signed-off-by: Claude --- .../trx-frontend/trx-frontend-http/assets/web/app.js | 6 ------ 1 file changed, 6 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 0a16931..61ccdf0 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 @@ -8408,7 +8408,6 @@ function updateDecodeStatus(text) { if (ft2 && ft2.textContent !== "Receiving") ft2.textContent = text; } function dispatchDecodeMessage(msg) { - if (lastActiveRigId && msg.rig_id && msg.rig_id !== lastActiveRigId) return; if (msg.type === "ais" && window.onServerAis) window.onServerAis(msg); if (msg.type === "vdes" && window.onServerVdes) window.onServerVdes(msg); if (msg.type === "aprs" && window.onServerAprs) window.onServerAprs(msg); @@ -8422,10 +8421,6 @@ function dispatchDecodeMessage(msg) { function dispatchDecodeBatch(batch) { if (!Array.isArray(batch) || batch.length === 0) return; - if (lastActiveRigId) { - batch = batch.filter((m) => !m.rig_id || m.rig_id === lastActiveRigId); - if (batch.length === 0) return; - } const type = String(batch[0]?.type || ""); const uniformType = batch.every((msg) => String(msg?.type || "") === type); if (uniformType) { @@ -8487,7 +8482,6 @@ function scheduleDecodeHistoryDrainStep(callback) { } function decodeHistoryUrl() { - if (lastActiveRigId) return "/decode/history?remote=" + encodeURIComponent(lastActiveRigId); return "/decode/history"; }