-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Description
Environment
CPU AMD Ryzen 7 3700X 8-Core Processor 3.60 GHz
Memory 32.0 GB
OS 64-bit
Description of the new feature/enhancement
1、Add a status indicator to the tab indicates connection status
2、Add connect and disconnect buttons to the tab's Pop-up list(or somewhere)
Describe
The two functions above are closely linked and I have written them together
1、I want to disconnect the terminal from the background program without closing the terminal page (I need to see the contents,),and reconnect if necessary,more often than not, I prefer to reopen the current terminal page rather than closing it and creating another

Add connect/disconnect buttons to above list(or somewhere)
2、Let's use an elegant dynamic icon to indicate the current connection status. Every time the connection is accidentally disconnected, the error report on the first line is of little use to me except for the last line which tells me to enter to reconnect (it's a strange feeling that the connection is now disconnected and the content is printed in the terminal...”)
like this:

Proposed technical implementation details (optional)
It would be great to have both functions(connect/disconnect button) in one button
maintainer edit space:
### Tasks
* [ ] When a connection is `Closed`, set an indicator in the tab itself. This could be like the zoom one we have currently.
* [ ] When the active pane in a tab's connection state is `Closed`, we could add a "Restart connection" action to the tab context menu (ala #14549)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status