loreal-video-optimizer/backend
DJP 300a67d247 Add Reset to Factory Defaults button with double confirmation
Features:
- Renamed "Reload from Server" to "Refresh Display" for clarity
- Added "Reset to Factory Defaults" button with warning icon
- Red danger button styling (matches warning theme)
- Double confirmation dialog to prevent accidental resets
- Backend endpoint to restore original 8 platforms (21 configurations)
- Deletes custom platform_specs.json file
- Restores L'Oréal documentation specifications

Functionality:
- "Refresh Display" - Reloads current specs from backend (no changes)
- "Reset to Factory Defaults" - Deletes ALL custom platforms and restores original 21 configs
- Custom platforms are saved until factory reset is triggered
- Factory defaults stored at server startup for restoration

Safety features:
- Two confirmation dialogs
- Clear warning messages
- Success feedback showing platform count restored

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 18:40:59 -04:00
..
outputs Initial commit: Video Optimizer for L'Oréal 2025-10-16 16:52:11 -04:00
uploads Initial commit: Video Optimizer for L'Oréal 2025-10-16 16:52:11 -04:00
api.php Initial commit: Video Optimizer for L'Oréal 2025-10-16 16:52:11 -04:00
app.py Add Reset to Factory Defaults button with double confirmation 2025-10-16 18:40:59 -04:00
platform_specs.py Initial commit: Video Optimizer for L'Oréal 2025-10-16 16:52:11 -04:00
requirements.txt Initial commit: Video Optimizer for L'Oréal 2025-10-16 16:52:11 -04:00
video_processor.py Initial commit: Video Optimizer for L'Oréal 2025-10-16 16:52:11 -04:00