• Stefy Lanza (nextime / spora )'s avatar
    feat: Complete template management system with live switching and persistent storage · c344a65f
    Stefy Lanza (nextime / spora ) authored
    - Template Management System: Complete HTML overlay template upload, delete, and real-time editing
    - Persistent Template Storage: Cross-platform user template storage (AppData/Library/config)
    - Template Priority System: Uploaded templates override built-in templates with same filename
    - Custom URL Scheme Handler: overlay:// protocol enables uploaded templates to access overlay.js
    - Live Template Switching: Dashboard forms instantly switch to selected template with overlay updates
    - Template Code Viewer: View and copy template source code with syntax highlighting
    - File Watcher Integration: Automatic template reloading when files change on disk
    - Enhanced Template UI: Popup previews, source viewer, dynamic template selection
    
    Fixes:
    - API endpoint mismatch: Fixed /api/overlay/update vs /api/overlay URL inconsistency
    - Template selection: Fixed video test page template selection with auto .html extension
    - JavaScript accessibility: Custom overlay:// scheme allows uploaded templates to access overlay.js
    - MessageBuilder: Added missing overlay_update() method
    - Template reload logic: Load specific template from form instead of reloading current
    
    Technical details:
    - OverlayUrlSchemeHandler for JavaScript file serving via overlay:// protocol
    - Qt Resource Collections (QRC) integration for embedded JavaScript files
    - PyInstaller compatibility with persistent user data outside executable bundle
    - WebChannel communication enhanced between Qt application and JavaScript overlays
    - Cross-platform persistent storage paths with proper fallback mechanisms
    c344a65f
Name
Last commit
Last update
assets Loading commit data...
mbetterclient Loading commit data...
packages Loading commit data...
uploads Loading commit data...
.gitignore Loading commit data...
=0.7.0 Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE Loading commit data...
PyQt6_UPGRADE_SUMMARY.md Loading commit data...
PyQt6_VIDEO_PLAYER_DOCUMENTATION.md Loading commit data...
README.md Loading commit data...
build.bat Loading commit data...
build.py Loading commit data...
build.sh Loading commit data...
main.py Loading commit data...
requirements.txt Loading commit data...
test.py Loading commit data...
test_qt6_player.py Loading commit data...
test_qt_player.py Loading commit data...
test_video.mp4 Loading commit data...
test_video_debug.py Loading commit data...
test_video_minimal.py Loading commit data...