pro.webssh.net
pro.webssh.net copied to clipboard
Sessions and tabs improvements
Bug description
Clicking open sessions from the sessions group in the sidebar causes them to open in whichever tab you are working in, rather than jumping to the tab that session was opened from. The original tab ends up having an empty panel.
This also results in the tab staying open when you ctrl+d quit a session.
Steps to reproduce
- Start a new SSH session within a tab
- Open a new 2nd tab and start another session with a different server.
- With the 2nd tab open, select the session in the sidebar from the 1st tab
- The 1st session opens in the 2nd tab. I would expect it to swap to the 1st tab.
- The 1st tab has an empty panel
- Quitting the 1st session results in the 1st tab remaining open.
In my point of view it’s not a bug because I have « cloned » some other apps HUD concepts (like Rayon ssh app)
At this time I’m unable to focus a tab which contains the selected connection view controller.
The Rayon app do a « great » thing : when a connection is re-attached to another tab, the « zombie » tab isn’t blank but instead display a message : « Terminal was transfered to another window »
I understand that the current WebSSH workflow has a trouble. I need to improve it with your feedbacks.
I understand now, that's fine with me if it's an expected behaviour.
Yes, improving the message in the tabs would help explain what it's doing. I like the « Terminal was transferred to another window » suggestion for the tab along with something simple for the tab title such as "transferred".
I've noticed that on a tab where the session was moved from (so is now empty), if I then click an open session to appear in that tab again and then quit the session, the main tab window doesn't revert back to the list of Connections.
Also, in the steps above, at step 3 when I select the 1st tab sessions, the tab title says WebSSH rather than the session name. If I then subsequently swap to other sessions, the correct name always appears.
Would it also be possible to close a session from the sidebar sessions list please? Perhaps the ability to right-click a session and close from the menu pop-up? I guess on an iPad you could swipe left the session to reveal a red trash icon?
I've noticed that on a tab where the session was moved from (so is now empty), if I then click an open session to appear in that tab again and then quit the session, the main tab window doesn't revert back to the list of Connections.
Also, in the steps above, at step 3 when I select the 1st tab sessions, the tab title says WebSSH rather than the session name. If I then subsequently swap to other sessions, the correct name always appears.
Thank you for your feedback! I will fix / improve these issues.
Would it also be possible to close a session from the sidebar sessions list please? Perhaps the ability to right-click a session and close from the menu pop-up? I guess on an iPad you could swipe left the session to reveal a red trash icon?
RC2 already contains this improvement :
It will be shipped in a few hours 😅
It works great, thank you!
@jarrah31 "Empty panels" behavior shouldn't occurs anymore since WebSSH 18.1 : https://testflight.apple.com/join/QSrBK59z
I'm wrong sorry. I would mean "when exiting a connection no empty panel should occurs". Instead connection' list is displayed.
Hi Arnaud, yes I can confirm that now works - thank you!
Hello @jarrah31 👋 I'm closing it as I've read it twice and didn't found no finished tasks.
Of course if I'm wrong please tell me
I wish you a nice day ☀️