fix: Show UDP/RF filters now hide neighbor-info lines (closes #3147)#3148
Conversation
visibleNodeNums (used to hide neighbor-info lines when endpoint nodes are filtered) previously only checked the MQTT filter via the legacy `node.viaMqtt` boolean, leaving RF and UDP unchecked. This meant that unchecking "Show UDP" hid the node markers but left their neighbor-info connection lines visible, making filtered nodes appear to still be on the map (closes #3147). Switch to `nodePassesTransportFilter` (same helper used by the marker renderer) and add `showRfNodes`/`showUdpNodes` to both the `useMapContext()` destructuring and the `useMemo` dependency array. https://claude.ai/code/session_01DyRSp5mPeD4qyG2gNoiS3o
|
Claude finished @Yeraze's task —— View job PR Review in Progress
|

Summary
visibleNodeNumsinApp.tsx— the set used to suppress neighbor-info connection lines when a node is hidden — only applied the MQTT filter (via the legacynode.viaMqttboolean). The RF and UDP filters were absent, so unchecking "Show UDP" hid node markers correctly but left their connection lines visible.nodePassesTransportFilter(the same helper already used by the marker renderer inNodesTab), addshowRfNodes/showUdpNodesto theuseMapContext()destructuring inApp.tsx, and add both to theuseMemodependency array so the set updates reactively.Changed file:
src/App.tsx— 8 insertions, 10 deletions.Test plan
visibleNodeNumsset).https://claude.ai/code/session_01DyRSp5mPeD4qyG2gNoiS3o
Generated by Claude Code