Rename WLED Grab to LED Grab, merge Devices into Targets tab with WLED sub-tab, and UI polish

- Rename "WLED Grab" to "LED Grab" across all files (title, logs, locales)
- Merge Devices and Targets into a single Targets tab with WLED sub-tab
  containing Devices and Targets sections (like Sources tab pattern)
- Make target card source name label full-width
- Render engine template config as two-column key-value grid
- Update CLAUDE.md: no server restart needed for frontend-only changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-12 15:44:11 +03:00
parent 55814a3c30
commit 58df163ded
9 changed files with 176 additions and 142 deletions

View File

@@ -107,7 +107,7 @@ async def lifespan(app: FastAPI):
Handles startup and shutdown events.
"""
# Startup
logger.info(f"Starting WLED Grab v{__version__}")
logger.info(f"Starting LED Grab v{__version__}")
logger.info(f"Python version: {sys.version}")
logger.info(f"Server listening on {config.server.host}:{config.server.port}")
@@ -181,7 +181,7 @@ async def lifespan(app: FastAPI):
yield
# Shutdown
logger.info("Shutting down WLED Grab")
logger.info("Shutting down LED Grab")
# Stop all processing
try:
@@ -192,7 +192,7 @@ async def lifespan(app: FastAPI):
# Create FastAPI application
app = FastAPI(
title="WLED Grab",
title="LED Grab",
description="Control WLED devices based on screen content for ambient lighting",
version=__version__,
lifespan=lifespan,
@@ -246,7 +246,7 @@ async def root():
# Fallback to JSON if static files not found
return {
"name": "WLED Grab",
"name": "LED Grab",
"version": __version__,
"docs": "/docs",
"health": "/health",