From 6321a974a929974d3f508b1055c8fb49458e8c09 Mon Sep 17 00:00:00 2001 From: Graham McIntie Date: Mon, 16 Mar 2026 15:12:09 -0500 Subject: [PATCH] TOW-44: Hide RF Links UI elements from network map (#45) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Hide RF link-related UI elements from the network map page while keeping all backend code intact. ### Changes - Commented out "View RF Links" button in network map node detail panel - Commented out RF Link health legend (Good signal / Degraded / Critical) from map legend - Backend topology.ex code untouched — `compute_rf_link_stats/1` and `enrich_edges_with_rf/2` remain - No RF tab exists on the device show page, so no changes needed there ### Verification - `mix compile --warnings-as-errors` — zero warnings - `mix test` — 8490 tests pass, 0 failures Paperclip issue: TOW-44 Reviewed-on: https://git.mcintire.me/graham/towerops-web/pulls/45 --- lib/towerops_web/live/network_map_live.html.heex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/towerops_web/live/network_map_live.html.heex b/lib/towerops_web/live/network_map_live.html.heex index 7e78b69b..e750bcf2 100644 --- a/lib/towerops_web/live/network_map_live.html.heex +++ b/lib/towerops_web/live/network_map_live.html.heex @@ -507,6 +507,7 @@ <.icon name="hero-arrow-top-right-on-square" class="h-4 w-4 mr-1.5" /> {t("View Device")} + <%!-- RF Links button hidden (TOW-44) — keep code intact <%= if @selected_node_detail[:is_wireless] do %> <.link navigate={~p"/devices/#{@selected_node_detail.id}?tab=rf"} @@ -516,6 +517,7 @@ {t("View RF Links")} <% end %> + --%> <% end %> @@ -563,7 +565,7 @@ Discovered - <%!-- RF Link health --%> + <%!-- RF Link health legend hidden (TOW-44) — keep code intact
RF Links:
@@ -579,6 +581,7 @@ Critical
+ --%> <%!-- Link types --%>
Link types: