mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 19:23:31 +00:00
fc3e6c1381
- Theme changes now broadcast instantly via WebSocket to all connected browsers - No page refresh needed - theme updates in real-time across all devices - Theme preference is persisted server-side and loaded on new sessions - Added WebSocket message type 'settingsUpdate' for broadcasting settings changes - Updated SystemSettingsHandler to broadcast theme changes to all clients - Added frontend event listener to handle incoming theme change messages - Fixed API endpoint routing to use the new handler with broadcast support - Added proper DISABLE_AUTH check in CheckAuth for auth-disabled environments This creates a seamless experience where toggling dark/light mode on one device instantly updates all other connected devices (phones, tablets, browsers).