mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-06 06:00:33 +02:00
Devices: fixes from review round 15
- A bare alias's route is pinned to where ~/.ssh/config sent it when it was routed (HostName, Port, User), so editing that file can't move an install. - Renaming during an install is allowed: only a real user or port change waits. - The Devices tab follows a network change even while the headset is offline. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
34e91988b1
commit
93ebd34f2c
3 files changed
+42
-8
No files matched your search
+5
-1
@@ -2590,7 +2590,11 @@ function onConnection(s) {
|
||||
}
|
||||
}
|
||||
renderBanner();
|
||||
if (s.devices_rev !== link.rev || devId !== link.device) { link.rev = s.devices_rev; loadDevices(); }
|
||||
const netId = s.network ? s.network.id || s.network.gateway || "" : null;
|
||||
if (s.devices_rev !== link.rev || devId !== link.device || (netId !== null && netId !== link.net)) {
|
||||
link.rev = s.devices_rev; link.net = netId; // also when only the network changed: the Devices tab shows it
|
||||
loadDevices();
|
||||
}
|
||||
link.phase = s.phase; link.device = devId;
|
||||
if (page === "devices") renderTests();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user