Commit Graph
18 Commits
Author SHA1 Message Date
jimmy ce3b9f4ea5 Add profile deletion feature
- Added DELETE endpoint /api/profiles/<profile_name> to delete profiles
- Prevent deletion of the only remaining profile
- Clear current profile state if the active profile is deleted
- Added Delete button next to each profile in the Profiles modal
- Added confirmation dialog before deleting profiles
- Automatically refresh profile list after deletion
2026-01-05 23:09:10 +13:00
jimmy 40cfe19759 Add profile color palette feature with quick-select modal
- Added per-profile color palette storage in profile JSON files
- Created Color Palette modal for managing profile colors
- Added quick-select modal window when clicking color pickers
- Implemented palette color selection to apply to active tab colors
- Added 'Use Color Picker' button in quick palette modal
- Fixed pattern selection to properly update UI
- Improved color picker interaction to prevent conflicts between quick palette and native picker
2026-01-05 22:42:58 +13:00
jimmy c97ca308a7 Add profile persistence for color changes and data saving
- Added save_current_profile() function to persist lights data to profile files
- Updated all endpoints to save to profile files after changes
- Ensures color changes, pattern changes, and tab modifications are persisted
- Data now saves to both settings.json (patterns) and profile files (lights data)
2026-01-04 16:07:54 +13:00
jimmy 5aa500a7fb Convert app to Flask web application with color pickers
- Created Flask backend with REST API endpoints
- Built HTML/CSS/JavaScript frontend
- Replaced RGB sliders with color pickers for each palette color
- Reorganized layout: color palette on left, patterns on right
- Added persistence for color changes
- Integrated WebSocket client for lighting controller communication
- Added tab management, profile support, and pattern selection
2026-01-04 15:59:19 +13:00
jimmy c8ae113355 Remove associated names label and always show n parameter inputs 2025-11-30 17:23:32 +13:00
jimmy 2db2d9e120 Fix bottom menu buttons visibility by adjusting packing order 2025-11-30 17:07:21 +13:00
jimmy 42575b9d2e Fix profile loading to not modify settings.json, preserve patterns 2025-11-30 17:03:43 +13:00
jimmy 517750e5f6 Add patterns configuration to settings.json 2025-11-30 16:52:09 +13:00
jimmy 5e4798a9dc Remove scrolling and fix empty space, restore patterns to settings.json 2025-11-30 16:49:54 +13:00
jimmy fb4944e475 Add screen resolution scaling and move tab buttons to bottom 2025-11-30 16:44:14 +13:00
jimmy c5a76c24a7 Move patterns to settings.json and remove patterns.json 2025-11-30 16:31:22 +13:00
jimmy ce8596ca58 Add tab management, profiles, and pattern-specific delay ranges 2025-11-30 16:23:08 +13:00
jimmy 92526ab05c Move patterns to separate patterns.json file 2025-11-30 14:43:22 +13:00
jimmy 8dabf852ba Show descriptive names for n parameters based on selected pattern 2025-11-30 13:27:35 +13:00
jimmy e803dd4243 Update main 2025-11-21 16:18:08 +13:00
jimmy baf3d0b0ff Update settings 2025-11-21 16:17:42 +13:00
jimmy 7f43b93cb7 Update UI: shorter sliders, add n1-n6 inputs, logarithmic delay scale 2025-11-19 23:05:51 +13:00
jimmy 9fc58a827b Move to src. Add midi and sound 2025-09-07 21:15:42 +12:00