fix(remote): say when a remote window loses its connection and reconnect it (#3795)

A remote window whose SSH link, host or server went away kept showing its project and failed every command with "connection closed". The desktop now tells the window when its connection ends on its own (RemoteConnectionLost); the window shows it in the status bar, reconnects after 2, 5 and 15 s (a new server, so the project opens again on it), then offers Reconnect; commands on the closed connection say "Lost the connection to <host>".

Fixes #3697
This commit is contained in:
l0ng-ai
2026-11-17 00:32:31 +08:00
committed by GitHub
parent 043584b7de
commit 458286b046
12 changed files with 336 additions and 35 deletions
@@ -72,3 +72,8 @@
margin-left: auto;
font-variant-numeric: tabular-nums;
}
.lost {
display: inline-flex;
align-items: center;
gap: var(--space-1);
}