mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-06 07:00:37 +02:00
Devices: fixes from review round 20
- A jump host's own "Authenticated to" line no longer counts as the headset's, and a master that logs in but doesn't start lets the next address be tried. - Devices tab changes refresh through the ordered list load, so a late answer can't undo a newer selection. - A probe's time out starts after the name lookup: macOS can take 5 s to look up a .local name (found on the real Frame once its USB link went away). - An attempt's ending is published from a method, not a return in finally. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
6597a90059
commit
42b51afc5a
3 files changed
+48
-28
No files matched your search
+1
-1
@@ -2684,7 +2684,7 @@ async function useDevice(id) {
|
||||
}
|
||||
async function devAction(label, body, btn) {
|
||||
const res = await act(label, () => api("/api/devices", body), btn);
|
||||
if (res && res.devices) { dv.data = res; dv.list = res.devices; renderDevices(); }
|
||||
if (res) loadDevices(); // in order with every other load, so a late answer can't undo a newer one
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user