Repository navigation
🎨 Major UI Refactoring
This release focuses on improving code organization, maintainability, and developer experience through a comprehensive UI refactoring while maintaining 100% backward compatibility and zero performance impact.
✨ New Features
Component Architecture
- 6 New JavaScript Components for better code encapsulation:
LegendComponent- Manages channel legend display and mode switchingAudioDeviceComponent- Handles audio device selection UINetworkInfoComponent- Displays network status and configurationSettingsPanelComponent- Manages settings panel tabs and visibilityUpdateNotificationComponent- Handles update notification overlay
Template System
- New
Templatesutility module with reusable template functions - Methods:
slider(),select(),toggle(),button(),statusCard(),configItem() - Modernized HTML generation using template literals
CSS Organization
- Extracted inline styles to 5 separate, organized CSS files:
main.css- Base styles, body, canvas, legendcomponents.css- Buttons, settings panel, tabs, form controlsmeters.css- Update status, progress bars, network/config displaysanimations.css- Keyframes and animation definitionsresponsive.css- Media queries for different screen sizes
🔧 Improvements
- Reduced
index.htmlfrom 1,573 to 553 lines (~65% reduction) - Better separation of concerns: CSS, HTML, and JavaScript
- Zero performance degradation - maintains 30 FPS on Raspberry Pi
- 100% backward compatibility maintained
📦 Installation
New Installations
curl -fsSL https://raw.githubusercontent.com/mattstegner/SpectraBox/main/scripts/spectrabox-kiosk-install.sh | sudo bashExisting Installations
Updates available through the web interface:
- Navigate to Settings → Server
- Click "Check for Updates"
- Click "Update Now"
🔗 Full Changelog
See the full changelog for all changes.