Channel 11 defaults, ESP-NOW driver config and rig/desktop updates
Moves the controller, bridge and led-driver default ESP-NOW channel to 11 and updates the led-driver and led-tool submodule pointers. Includes the rest of the working tree: web UI, desktop and sim-controller changes, API and bridge code, graphify output, and the .gitea and fixture-driver folders. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
35207a868a
commit
edf35e9c71
280 files changed
+24043
-1756
No files matched your search
+4
-12
@@ -604,7 +604,7 @@ async function refreshEditTabSequencesUi(zoneId) {
|
||||
rm.className = 'btn btn-danger btn-small';
|
||||
rm.textContent = 'Remove';
|
||||
rm.addEventListener('click', async () => {
|
||||
if (!window.confirm(`Remove this sequence from the zone?\n\n${name}`)) return;
|
||||
if (!await uiConfirm(`Remove this sequence from the zone?\n\n${name}`)) return;
|
||||
await removeSequenceFromTab(zoneId, sid);
|
||||
});
|
||||
row.appendChild(span);
|
||||
@@ -924,7 +924,7 @@ async function saveSequenceEditor() {
|
||||
async function deleteCurrentSequence() {
|
||||
const idToDelete = sequenceEditorId;
|
||||
if (!idToDelete) return;
|
||||
if (!window.confirm('Delete this sequence? It will be removed from the server.')) return;
|
||||
if (!await uiConfirm('Delete this sequence? It will be removed from the server.')) return;
|
||||
try {
|
||||
const res = await fetch(`/sequences/${idToDelete}`, { method: 'DELETE' });
|
||||
if (!res.ok) throw new Error('Delete failed');
|
||||
@@ -1057,16 +1057,8 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
const tryBtn = document.getElementById('sequence-editor-try-btn');
|
||||
if (tryBtn) {
|
||||
tryBtn.addEventListener('click', async () => {
|
||||
if (!sequenceEditorId) return;
|
||||
if ((await saveSequenceEditor()) === false) return;
|
||||
const zid = resolveZoneIdForPresetStripRefresh();
|
||||
const loopCb = document.getElementById('sequence-editor-loop');
|
||||
try {
|
||||
if (loopCb && !loopCb.checked) await fireOneShot(sequenceEditorId, zid);
|
||||
else await requestBackendSequencePlay(sequenceEditorId, zid, null);
|
||||
} catch (e) {
|
||||
alert(e.message || 'Could not play it.');
|
||||
}
|
||||
// The timeline's Play: saves, then plays where its Sim only / Both switch says
|
||||
if (typeof window.seqTlPlay === 'function') await window.seqTlPlay();
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user