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) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-19 13:34:17 -05:00
parent 2f079fd74f
commit 8a723d855c
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -50,3 +50,4 @@ docs/comparison-*.md
# Local dev tools (mock servers, screenshot automation)
tools/dev/
fleet-dashboard.png

View File

@@ -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 && (
<div className="px-3 py-1 text-center">
<span className="font-mono text-[9px] text-text-muted">TOD v9.5</span>
<span className="font-mono text-[9px] text-text-muted">TOD {APP_VERSION}</span>
</div>
)}