Commit Graph

30 Commits

Author SHA1 Message Date
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
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
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
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
c8ae113355 Remove associated names label and always show n parameter inputs 2025-11-30 17:23:32 +13:00
2db2d9e120 Fix bottom menu buttons visibility by adjusting packing order 2025-11-30 17:07:21 +13:00
42575b9d2e Fix profile loading to not modify settings.json, preserve patterns 2025-11-30 17:03:43 +13:00
517750e5f6 Add patterns configuration to settings.json 2025-11-30 16:52:09 +13:00
5e4798a9dc Remove scrolling and fix empty space, restore patterns to settings.json 2025-11-30 16:49:54 +13:00
fb4944e475 Add screen resolution scaling and move tab buttons to bottom 2025-11-30 16:44:14 +13:00
c5a76c24a7 Move patterns to settings.json and remove patterns.json 2025-11-30 16:31:22 +13:00
ce8596ca58 Add tab management, profiles, and pattern-specific delay ranges 2025-11-30 16:23:08 +13:00
92526ab05c Move patterns to separate patterns.json file 2025-11-30 14:43:22 +13:00
8dabf852ba Show descriptive names for n parameters based on selected pattern 2025-11-30 13:27:35 +13:00
e803dd4243 Update main 2025-11-21 16:18:08 +13:00
baf3d0b0ff Update settings 2025-11-21 16:17:42 +13:00
7f43b93cb7 Update UI: shorter sliders, add n1-n6 inputs, logarithmic delay scale 2025-11-19 23:05:51 +13:00
9fc58a827b Move to src. Add midi and sound 2025-09-07 21:15:42 +12:00
b77b29415c Make colors bigger and add more Y padding 2025-07-12 14:21:33 +12:00
5b248a5726 Add temple of techno settings 2025-07-12 10:38:54 +12:00
62611c73c9 Add extra patterns that use a single color 2025-07-12 10:38:33 +12:00
f7f7acbdbf Intial version 2025-07-12 01:18:04 +12:00
c77fd30f8f Done a heap 2025-07-12 00:55:30 +12:00
65774837c7 Change to websocket 2025-07-11 21:33:50 +12:00
f302be85c0 Use Pipenv 2025-07-11 21:33:13 +12:00
910c225542 Inital working version 2025-05-18 22:10:14 +12:00
9d35fb5002 Add config 2025-01-04 19:44:13 +13:00
cc45c919f5 Ignore venv, pycache and config 2025-01-04 19:43:23 +13:00
161fd5e12f Add multiple servers 2024-08-30 17:35:26 +12:00
d1b9de736f Initial commit 2024-08-30 17:23:16 +12:00