Thank you for the recent changes - very nice... improved my usability!
Version 3.0 (2025-02-02)
Added support for multiple rule machines:
- Room Lighting
- Button Controllers
- Basic Button Controllers
- Motion and Mode Lighting Apps
Moved options panel into new overlay.
Added rule machine type in brackets to rule name (can be hidden with option).
Major releases make me nervous - but the features look so appetizing!
My update didn't go smooth. I can easily delete and reinstall which no doubt will fix it.
but I post this here in case it's smaller quirk:
I believe I see the issue.
I'll get an update fix out later tonight when I return home.
I reorganized most of the code; and that line should be down below the conditional check.
Version 3.1 (2025-02-03)
- Fixed java error removeAll() line 515.
Amazing response time! thank you for the effort and work.
The 'fix' worked but didn't - however - that may be a carry forward of whatever state I was already in. Here is the log AFTER I posted in your update via HPM.
I removed and reinstalled the app. I now see RL, and Virtual Buttons! I love how the sort from a fresh start works. Most excellent work.
BTW - thought I'd mention in case someone looks closely at my screen cap - the references to 'RL - ', and 'Rule -' are my old technique I used to in my names so I could see in the logs what was going on.
Many thanks!
Yeah.. nothing is jumping out at me glancing over the code. Please let me know if the error persists; and I'll try to replicate and fix. I also think it probably had to do with the previous state.
Absolutely
The latest version is terrific!
Quick question: why the choice of reporting 0 items when a container is collapsed? Makes it seem like the containers are empty.
Well.. you see.. if a container doesn't have any items in it.. then it may start to question its own existence.. at least this way...
Shoot.. I don't know!
Ohhhhhh... I see it now. Lol.
What's happening is I run the "refresh" function anytime something is moved or collapsed/expanded or colors altered. This updates all the inputs for when you save.
Now, in addition, the function to alter the rule counts when you move items looks at whether or not the rule is displayed on the page (css hidden vs visible property). This function is called as part of the page refresh.
So, when the container is collapsed; that effectively "hides" all the rules inside; then the refresh function is executed and it's replacing the count with "0"... because all the rules are "hidden" behind the collapsed container.
GREAT FIND!!
I'll certainly work it into the next release.
Thanks for the suggestion!
Just updated to 3.1, I get a blank config page, with this error in the logs:
For good measure I re-imported the app code, no change. The .js and .css file timestamps indicate HPM did update them.
Let me know if I can provide more debug info.
EDIT: looks to be an upgrade issue with existing app state, a new instance of the app loads just fine.
Ugh... okay, second report.
I'll debug this tonight and get a new release out.
Version 3.2 (2025-02-04)
- Fixed rule counts going to zero when container is hidden.
- Fixed removeAll error for sure this time.
- Fixed ConcurrentModificationException error.
- Added additional help sections to welcome overlay.