From 8c3eb6ccc7c478b2a82c99252d91f50ae3e3ba70 Mon Sep 17 00:00:00 2001 From: Alex Vanderpot Date: Fri, 19 Jun 2026 01:52:19 -0400 Subject: [PATCH] Add "Only show MQTT neighbors" map option Adds a sub-option under "Show all neighbors" that filters neighbor lines to only direct (MQTT) connections, hiding multi-hop path connections. Defaults to off. Also hides the path-traffic gradient legend rows when the option is enabled, leaving the "MQTT connections" entry. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/components/MapLayerSettings.tsx | 18 +++++ meshexplorer/src/components/MapView.tsx | 75 +++++++++++-------- meshexplorer/src/hooks/useMapLayerSettings.ts | 2 + 3 files changed, 62 insertions(+), 33 deletions(-) diff --git a/meshexplorer/src/components/MapLayerSettings.tsx b/meshexplorer/src/components/MapLayerSettings.tsx index d004b4e..b2396b2 100644 --- a/meshexplorer/src/components/MapLayerSettings.tsx +++ b/meshexplorer/src/components/MapLayerSettings.tsx @@ -189,6 +189,24 @@ export default function MapLayerSettingsComponent({ onSettingsChange }: MapLayer + {/* Only show MQTT neighbors - indented sub-option */} + + {/* Minimum packet count - indented sub-option */}