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: graham/towerops-web#174
This commit is contained in:
Graham McIntire 2026-03-25 16:40:11 -05:00 committed by graham
parent 7656052395
commit 06ca0390f0
2 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -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")}
/>
/> --%>
<!-- RESPOND section -->
<p
@ -593,9 +593,9 @@ defmodule ToweropsWeb.Layouts do
<.mobile_nav_link navigate={~p"/network-map"} active={@active_page == "network-map"}>
<.icon name="hero-map" class="size-5" /> {t("Network Map")}
</.mobile_nav_link>
<.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")}
</.mobile_nav_link>
</.mobile_nav_link> --%>
</div>
<!-- RESPOND -->