From 06ca0390f0d358a99dfdf747ef0a8fb93b7ca471 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 25 Mar 2026 16:40:11 -0500 Subject: [PATCH] ui: hide weathermap navigation links (#174) Commented out weathermap navigation in sidebar and mobile menu. Feature not ready for production use yet. Files: lib/towerops_web/components/layouts.ex Changelog: CHANGELOG.txt Reviewed-on: https://git.mcintire.me/graham/towerops-web/pulls/174 --- CHANGELOG.txt | 6 ++++++ lib/towerops_web/components/layouts.ex | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 725298f3..2fe71864 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,9 @@ +2026-03-25 +ui: hide weathermap navigation links + - Commented out weathermap navigation in sidebar and mobile menu + - Feature not ready for production use yet + Files: lib/towerops_web/components/layouts.ex + 2026-03-25 ui: hide neighbors tab when SNMP is disabled - Neighbors tab (LLDP/CDP discovery) now only shows when device has SNMP enabled diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex index 842de4c6..2794e0b2 100644 --- a/lib/towerops_web/components/layouts.ex +++ b/lib/towerops_web/components/layouts.ex @@ -382,12 +382,12 @@ defmodule ToweropsWeb.Layouts do icon="hero-map" label={t("Network Map")} /> - <.sidebar_link + <%!-- <.sidebar_link navigate={~p"/weathermap"} active={@active_page == "weathermap"} icon="hero-signal" label={t("Weathermap")} - /> + /> --%>

<.icon name="hero-map" class="size-5" /> {t("Network Map")} - <.mobile_nav_link navigate={~p"/weathermap"} active={@active_page == "weathermap"}> + <%!-- <.mobile_nav_link navigate={~p"/weathermap"} active={@active_page == "weathermap"}> <.icon name="hero-signal" class="size-5" /> {t("Weathermap")} - + --%>