Skip to content

Commit

Permalink
2024-03-20-BETA - HTTP Busy Indicator + Infinity FX
Browse files Browse the repository at this point in the history
OK, this commit affects the following issues: #45, #83 and #84 - this commit adds:

- A busy indicator (including current status message, if the action takes more than a few seconds) to the HTTP server - this has been a request for a little while...
- Adds the FX functionality of the Infinity lights to the HTTP server (and it should also take care of the CLI, but I haven't tested the CLI extensively yet)
- Rewrote the JavaScript re-loading mechanic to use .replace instead of .assign, so there isn't a new history entry in your browser every time a page reloads
- Adds a "pause delay" if you click out of the HTTP server webpage, like clicking on the URL: bar of your browser - this will make typing light parameters in easier
- Adds the following parameters to the HTTP and CLI interfaces - bright_min, bright_max, temp_min, temp_max, hue_min, hue_max, speed, sparks, specialOptions
- Reworked the getLightSpecs() function to return light parameters with less work (re-alphabetized the list of lights, refined the procedure for finding the current light, etc.)
  • Loading branch information
taburineagle committed Mar 20, 2024
1 parent 9b995de commit 963918b
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 56 deletions.
Loading

1 comment on commit 963918b

@taburineagle
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, this commit does not take care of the CLI yet - but I know what needs to be done to do so, so that will be the next step.

Please sign in to comment.