Add scheduling-remote service to docker-compose and enhance camera error handling

- Introduced a new service for scheduling-remote in docker-compose.yml, allowing for better management of scheduling functionalities.
- Enhanced error handling in CameraMonitor and CameraStreamer classes to improve robustness during camera initialization and streaming processes.
- Updated various components in the management dashboard to support dark mode and improve user experience with consistent styling.
- Implemented feature flags for enabling/disabling modules, including the new scheduling module.
This commit is contained in:
salirezav
2025-11-02 19:33:13 -05:00
parent f6a37ca1ba
commit 868aa3f036
33 changed files with 7471 additions and 136 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Helper script to add dark mode classes to components
# This is a reference - actual changes should be made manually for safety
echo "Patterns to apply for dark mode:"
echo ""
echo "1. Backgrounds:"
echo " bg-white -> bg-white dark:bg-gray-800"
echo " bg-gray-50 -> bg-gray-50 dark:bg-gray-900"
echo ""
echo "2. Text:"
echo " text-gray-900 -> text-gray-900 dark:text-white"
echo " text-gray-800 -> text-gray-800 dark:text-white/90"
echo " text-gray-700 -> text-gray-700 dark:text-gray-300"
echo " text-gray-600 -> text-gray-600 dark:text-gray-400"
echo " text-gray-500 -> text-gray-500 dark:text-gray-400"
echo ""
echo "3. Borders:"
echo " border-gray-200 -> border-gray-200 dark:border-gray-700"
echo " border-gray-300 -> border-gray-300 dark:border-gray-600"
echo ""
echo "4. Buttons/Inputs:"
echo " bg-blue-100 -> bg-blue-100 dark:bg-blue-900/20"
echo " text-blue-800 -> text-blue-800 dark:text-blue-300"

View File

@@ -51,3 +51,5 @@ echo ""
echo "All services have been reset and are running in detached mode."
echo "Use 'docker compose logs -f' to view logs or 'docker compose ps' to check status."