From 8a723d855c5ad8fd3c6d4898248a6e8c1b5dad1c Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Thu, 19 Mar 2026 13:34:17 -0500 Subject: [PATCH] fix(ui): replace hardcoded v9.5 in sidebar with dynamic APP_VERSION Sidebar was still showing v9.5. Now imports APP_VERSION from @/lib/version.ts like Settings and About pages. Also ignore stale fleet-dashboard.png screenshot. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitignore | 1 + frontend/src/components/layout/Sidebar.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 767613a..31e3542 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ docs/comparison-*.md # Local dev tools (mock servers, screenshot automation) tools/dev/ +fleet-dashboard.png diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index bb9fa9f..7f93e6a 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -1,4 +1,5 @@ import { useEffect, useRef } from 'react' +import { APP_VERSION } from '@/lib/version' import { Link, useRouterState } from '@tanstack/react-router' import { Monitor, @@ -270,7 +271,7 @@ export function Sidebar() { {/* Version identifier */} {!showCollapsed && (
- TOD v9.5 + TOD {APP_VERSION}
)}