ssh: Add session state indicator to title bar (#18645)

![image](https://github.com/user-attachments/assets/0ed6f59c-e0e7-49e6-8db7-f09ec5cdf653)
The indicator turns yellow when ssh client is trying to reconnect. Note
that the state tracking is probably not ideal (we'll see how it pans out
once we start dog-fooding), but at the very least "green=good" should be
a decent mental model for now.

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-10-03 00:35:56 +02:00 committed by GitHub
parent e2d613a803
commit 19b186671b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 66 additions and 5 deletions

View file

@ -317,6 +317,7 @@ impl SshClientDelegate {
if release_channel == ReleaseChannel::Dev
&& platform.arch == std::env::consts::ARCH
&& platform.os == std::env::consts::OS
&& false
{
use smol::process::{Command, Stdio};