From 43e06bff814a8f27627581af5e66d68eff613d37 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Thu, 16 Jul 2026 17:49:12 +0000 Subject: [PATCH] chore(dashboard): remove orphaned /adapter-config route MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AdapterConfig is already embedded directly in Environment.tsx (excludeKeys={CURATED_KEYS} hideLlmToggle); no in-app ever targeted the standalone /adapter-config route. Drop the route, its App.tsx import, the extraTitleItems entry in Layout.tsx, and the now-unused Sliders icon import. pages/AdapterConfig.tsx itself is kept — it's imported directly by Environment.tsx. --- work/dashboard-frontend/src/App.tsx | 2 -- work/dashboard-frontend/src/components/Layout.tsx | 2 -- 2 files changed, 4 deletions(-) diff --git a/work/dashboard-frontend/src/App.tsx b/work/dashboard-frontend/src/App.tsx index 2fbde71..a55bcf5 100644 --- a/work/dashboard-frontend/src/App.tsx +++ b/work/dashboard-frontend/src/App.tsx @@ -7,7 +7,6 @@ import Config from './pages/Config' import ActivityLog from './pages/ActivityLog' import Notifications from './pages/Notifications' import Reference from './pages/Reference' -import AdapterConfig from './pages/AdapterConfig' import GaugeSites from './pages/GaugeSites' import TownAnchors from './pages/TownAnchors' import MeshCoreRouting from './pages/MeshCoreRouting' @@ -41,7 +40,6 @@ function App() { {/* Legacy /notifications -> Meshtastic Routing */} } /> } /> - } /> {/* New aggregated pages */} } /> diff --git a/work/dashboard-frontend/src/components/Layout.tsx b/work/dashboard-frontend/src/components/Layout.tsx index 626e896..d2094a2 100644 --- a/work/dashboard-frontend/src/components/Layout.tsx +++ b/work/dashboard-frontend/src/components/Layout.tsx @@ -7,7 +7,6 @@ import { Cloud, BellRing, BookOpen, - Sliders, Droplets, MapPin, Map, @@ -86,7 +85,6 @@ const navGroups: NavGroup[] = [ // Flattened view of every nav item for title lookup. // Also include de-navved routes so they still resolve a title. const extraTitleItems: NavItem[] = [ - { path: '/adapter-config', label: 'Adapter Config', icon: Sliders }, { path: '/gauge-sites', label: 'Gauge Sites', icon: Droplets }, { path: '/town-anchors', label: 'Town Anchors', icon: MapPin }, { path: '/mesh', label: 'Mesh', icon: Radio },