terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Hide SSH profiles in the dropdown by default, make them opt-in.

Open akulbe opened this issue 5 months ago • 3 comments

Description of the new feature

Hey @DHowett-MSFT! I don't know what most folks usage of ~/.ssh/config is, but I use it extensively.

The effect of this means that the dropdown menu in WT was pages long. My ask is that you make SSH profiles hidden by default in the dropdown until the user explicitly goes and unhides them. It'll make managing connections a little more sane.

Proposed technical implementation details

No response

akulbe avatar Jun 16 '25 15:06 akulbe

Image

I have ~200 entries in my ~/.ssh/config file. This was after I went and disabled a bunch of them.

akulbe avatar Jun 16 '25 15:06 akulbe

@carlos-zamora our first casualty

DHowett avatar Jun 16 '25 17:06 DHowett

Casualty?! Please don't kill it. I personally like the feature. I just think, in the case where a user has LOTS of entries in ~/.ssh/config it is overwhelming.

akulbe avatar Jun 16 '25 17:06 akulbe

Notes from triage: we should generate a folder if the SSH generator produced any profiles and we did not already (tracked in state.json) generate the folder.

DHowett avatar Jun 18 '25 19:06 DHowett

We're probably not going to make them opt-in right now, only because adding two hundred hidden profiles is still going to clutter the UI even if they're, well, hidden.

DHowett avatar Jun 18 '25 19:06 DHowett