feat: sequences v2, driver frame sync and submodule updates
- Sequences v2, bridges and sim-controller changes from the working tree. - Records the led-driver, led-tool and led-simulator commits above. - Includes dmx-driver/ and graphify-out/. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3f8f67823b
commit
50ca46fee6
657 files changed
+15818
-1107
No files matched your search
@@ -146,6 +146,11 @@ function collectGroupEditPayload() {
|
||||
const nb = parseInt(gob.value, 10);
|
||||
if (!Number.isNaN(nb)) payload.output_brightness = Math.max(0, Math.min(255, nb));
|
||||
}
|
||||
const gmb = document.getElementById('edit-group-max-brightness');
|
||||
if (gmb && gmb.value !== '') {
|
||||
const nm = parseInt(gmb.value, 10);
|
||||
if (!Number.isNaN(nm)) payload.max_brightness = Math.max(0, Math.min(255, nm));
|
||||
}
|
||||
return { gid, payload };
|
||||
}
|
||||
|
||||
@@ -198,6 +203,17 @@ function loadWifiFieldsFromGroup(g) {
|
||||
gob.value = String(bv);
|
||||
if (gobv) gobv.textContent = String(bv);
|
||||
}
|
||||
const gmb = document.getElementById('edit-group-max-brightness');
|
||||
const gmbv = document.getElementById('edit-group-max-brightness-value');
|
||||
if (gmb) {
|
||||
let mv = 255;
|
||||
if (g && g.max_brightness != null && g.max_brightness !== '') {
|
||||
const n = parseInt(String(g.max_brightness), 10);
|
||||
if (!Number.isNaN(n)) mv = Math.max(0, Math.min(255, n));
|
||||
}
|
||||
gmb.value = String(mv);
|
||||
if (gmbv) gmbv.textContent = String(mv);
|
||||
}
|
||||
}
|
||||
|
||||
async function openEditGroupModal(groupId, groupDoc) {
|
||||
@@ -435,6 +451,14 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
});
|
||||
}
|
||||
|
||||
const grpMaxBr = document.getElementById('edit-group-max-brightness');
|
||||
const grpMaxBrVal = document.getElementById('edit-group-max-brightness-value');
|
||||
if (grpMaxBr && grpMaxBrVal) {
|
||||
grpMaxBr.addEventListener('input', () => {
|
||||
grpMaxBrVal.textContent = grpMaxBr.value;
|
||||
});
|
||||
}
|
||||
|
||||
const editIdentifyBtn = document.getElementById('edit-group-identify-btn');
|
||||
if (editIdentifyBtn) {
|
||||
editIdentifyBtn.addEventListener('click', async () => {
|
||||
|
||||
Reference in new issue
Block a user