jimmy
cf1d831b5a
Align controller backend and data with new presets
...
Update palettes, profiles, tabs, preset sending, and ESPNow message format to match the new preset defaults and driver short-field schema.
2026-01-29 00:04:23 +13:00
jimmy
fd37183400
Update frontend for presets, tabs, and help
...
Align frontend with new preset ID usage and shortened driver fields, improve tab/preset interactions, and refine help and editor UI.
2026-01-28 23:27:50 +13:00
jimmy
5fdeb57b74
Extend endpoint and browser tests for ESPNow and UI
...
Add coverage for /presets/send and updated tab/preset UI workflows in HTTP and Selenium tests.
2026-01-28 04:44:41 +13:00
jimmy
1576383d09
Update tab UI, presets interactions, and help
...
Refine tab presets selection and editing, add per-tab removal, improve layout, and provide an in-app help modal.
2026-01-28 04:44:30 +13:00
jimmy
8503315bef
Add ESPNow preset send backend support
...
Implement ESPNow helper model, WebSocket forwarding, and /presets/send endpoint that chunks and broadcasts presets to devices.
2026-01-28 04:43:45 +13:00
jimmy
928263fbd8
Remove Python cache files from version control
...
- Remove __pycache__ directories that should not be tracked
- These are now ignored via .gitignore
2026-01-27 13:05:22 +13:00
jimmy
7e33f7db6a
Add additional configuration and utility files
...
- Add install script and message configuration
- Add settings controller and templates
- Add ESP-NOW message utility
- Update API documentation
2026-01-27 13:05:09 +13:00
jimmy
e74ef6d64f
Update main application and dependencies
...
- Update main.py and run_web.py for local development
- Update microdot session handling
- Update wifi utility
2026-01-27 13:05:07 +13:00
jimmy
3ed435824c
Add Selenium dependency for browser tests
2026-01-27 13:05:04 +13:00
jimmy
d7fabf58a4
Fix MicroPython compatibility issues in Model class
...
- Fix JSONDecodeError handling (use ValueError for MicroPython)
- Fix sys.print_exception argument issues
- Improve error handling in load() method
- Add proper file persistence with flush() and os.sync()
2026-01-27 13:05:02 +13:00
jimmy
a7e921805a
Update controllers to return JSON and fix parameter handling
...
- Fix decorator parameter order issues with @with_session
- Return JSON responses instead of HTML fragments
- Add proper error handling with JSON error responses
- Fix route parameter conflicts in delete and update endpoints
2026-01-27 13:05:01 +13:00
jimmy
c56739c5fa
Refactor UI to use JavaScript instead of HTMX
...
- Replace HTMX with plain JavaScript for tab management
- Consolidate tab UI into single button like profiles
- Add cookie-based current tab storage (client-side)
- Update profiles.js to work with new JSON response format
2026-01-27 13:05:00 +13:00
jimmy
fd52e40d17
Add endpoint tests and consolidate test directory
...
- Add HTTP endpoint tests to mimic browser interactions
- Move old test files from test/ to tests/ directory
- Add comprehensive endpoint tests for tabs, profiles, presets, patterns
- Add README documenting test structure and how to run tests
2026-01-27 13:04:56 +13:00
jimmy
f48c8789c7
Add browser automation tests for UI workflows
...
- Add Selenium-based browser tests for tabs, profiles, presets, and color palette
- Test drag and drop functionality for presets in tabs
- Include cleanup functionality to remove test data after tests
- Tests run against device at 192.168.4.1
2026-01-27 13:04:54 +13:00
jimmy
80ff216e54
Update preset format with n7/n8 parameters
...
- Add n7 and n8 fields to preset definitions
- Update preset data format
2026-01-17 21:40:38 +13:00
jimmy
1fb3dee942
Update tab storage to 2D grid format
...
- Change presets from flat array to 2D grid layout
- Add presets_flat array for backward compatibility
- Support 3-column grid layout for preset positioning
2026-01-17 21:40:37 +13:00
jimmy
a4502055fb
Add test utilities and scripts
...
- Add test directory with main.py, p2p.py, ws.py
- Add send_empty_json.py WebSocket test script
2026-01-17 21:40:11 +13:00
jimmy
6e61ec8de6
Add P2P communication module
...
- Implement ESP-NOW async communication
- Support sending string, dict, or bytes data
- Use asend for async broadcast messaging
2026-01-17 21:40:10 +13:00
jimmy
48d02f0e70
Update watch script path in Pipfile
...
- Fix watch script to use relative paths
2026-01-17 21:40:08 +13:00
jimmy
cacaa3505e
Add pattern definitions endpoint
...
- Add /definitions endpoint to pattern controller
- Load pattern.json with fallback paths for local dev and MicroPython
2026-01-17 21:40:07 +13:00
jimmy
97ffc69b12
Add drag-and-drop for presets and colors, max_colors validation, and 2D grid layout
...
- Add drag-and-drop to reorder presets in tabs (2D grid layout)
- Add drag-and-drop to reorder colors within presets
- Add max_colors field to pattern definitions
- Hide color section when max_colors is 0
- Validate color count against pattern max_colors limit
- Store presets in 2D grid format (3 columns)
- Remove left panel from tab content, show only presets
- Update color palette to show swatches instead of hex codes
- Improve preset editor UI with visual color swatches
2026-01-17 00:58:50 +13:00
jimmy
d00d21e2b6
Split up main.js
2025-07-08 18:24:54 +12:00
jimmy
deca1b6c37
Add basic draggable item that saves to the server
2025-07-08 17:39:09 +12:00
jimmy
5c35e68ab2
Rename to styles.css
2025-07-07 18:20:11 +12:00
jimmy
8b6bbdeb56
Update wifi.py
2025-05-18 21:31:03 +12:00
jimmy
09bc09cca3
Update web.py
2025-05-18 21:31:00 +12:00
jimmy
e57feda131
Delete index_html.py
2025-05-18 21:30:57 +12:00
jimmy
3242aa464b
Update index.html
2025-05-18 21:30:50 +12:00
jimmy
72b7ba39ef
Update main.js
2025-05-18 21:30:47 +12:00
jimmy
c2a0cfaef4
Update main.css
2025-05-18 21:30:44 +12:00
jimmy
4c3337a232
Update settings.py
2025-05-18 21:30:40 +12:00
jimmy
825ae1f637
Update main.py
2025-05-18 21:30:37 +12:00
jimmy
14a70cb024
Update boot.py
2025-05-18 21:30:34 +12:00
jimmy
425511d41f
Create Pipfile.lock
2025-05-18 21:30:30 +12:00
jimmy
3e5239f3c6
Create patterns.py
2025-05-18 21:30:24 +12:00
jimmy
2fa02086c9
Add src
2025-05-05 22:19:34 +12:00
jimmy
28fa71b8ad
Add dev script and dependencies
2025-05-05 22:18:24 +12:00
jimmy
dc691b522b
Add libraries
2025-05-05 22:17:47 +12:00
jimmy
29d7a5bcfc
Inital slider
2025-05-04 18:06:21 +12:00