Security, UX, accessibility, performance, and code quality
enhancements across the entire WebUI.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- haos-integration: Fix entity not becoming unavailable on server shutdown
- media-server: Move install_task_windows.ps1 to scripts folder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Updated haos-integration to 8cbe33e:
- Add media browser integration for Home Assistant
- Implement async_browse_media() and async_play_media()
- Add play_media_file service
- Fix path separator handling
Updated media-server to eb2aed4:
- Improve media browser UI with fade-in animations
- Add loading state indicators for thumbnails
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Refactored UI into separate HTML, CSS, and JS files
- Added media browser with folder navigation and thumbnails
- Implemented metadata extraction and thumbnail caching
- Added smooth loading animations
- Fixed media type label visibility
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Volume now updates in real-time while dragging (50ms throttle)
- More responsive and smooth user experience
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Icon-based action buttons for better UX
- Execute button with detailed execution results
- Server management scripts (start/stop/restart)
- Disabled background scrolling when dialogs are open
- Added favicon and footer
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updates:
- Add CLAUDE.md with project guidelines for AI assistance
- Update media-server submodule: runtime script management with HA integration
- Update haos-integration submodule: automatic script reload support
New features:
- Dynamic script CRUD operations via Web UI
- Thread-safe configuration management
- WebSocket-based real-time updates
- Automatic Home Assistant button entity updates
- Client-side position interpolation for smooth playback
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This document contains guidelines for Claude when working on this project.
## Git Workflow
### Commits and Pushes
**IMPORTANT: Never commit or push without explicit user approval.**
When changes are ready to be committed:
1. Make the code changes
2. Show the user what will be committed (git status/diff)
3.**Wait for explicit approval** from the user before running `git commit` and `git push`
4. Only proceed with commits when the user says "commit and push" or similar
### Commit Message Format
Use the following format for commit messages:
```
<Short description of changes>
<Optional longer description with bullet points>
- Detail 1
- Detail 2
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
```
## Project Structure
This is a monorepo containing:
- **haos-integration**: Home Assistant custom integration (submodule)
- **media-server**: FastAPI media server (submodule)
### Submodule Workflow
When making changes:
1. Commit changes in the submodule first
2. Push the submodule
3. Update the main repo to reference the new submodule commit
4. Commit and push the main repo
## Code Style
- Follow existing code patterns
- Add comprehensive documentation for new features
- Update README files when adding new functionality
- Include examples in documentation
## Testing
- Test changes locally before committing
- Verify server restarts successfully after changes
- Check integration compatibility with Home Assistant
## Server Restart
After making changes to the backend (Python files), restart the media server to apply them. Frontend-only changes (CSS, HTML, JS) are served as static files and only require a browser hard-refresh (Ctrl+Shift+R).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.