Skip to content

Conversation

@carlos-zamora
Copy link
Member

@carlos-zamora carlos-zamora commented Aug 12, 2025

Summary of the Pull Request

Automatically generates an "SSH" folder in the new tab menu that contains all profiles generated by the SSH profile generator. This folder is created if the SSH generator created some profiles and the folder hasn't been created before. Detecting if the folder was generated is done via the new bool ApplicationState::SSHFolderGenerated. The logic is similar to SettingsLoader::DisableDeletedProfiles().

Found a bug on new tab menu's folder inlining feature where we were counting the number of raw entries to determine whether to inline or not. Since the folder only contained the match profiles entry, this bug made it so that the profile entries would always be inlined. The fix was very simple: count the number of resolved entries instead of the raw entries. This can be pulled into its own PR and serviced, if desired.

References and Relevant Issues

#18814
#14042

Validation Steps Performed

✅ Existing users get an SSH folder if profiles were generated

PR Checklist

Closes #19043

Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open Qs

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Aug 13, 2025
@DHowett DHowett merged commit 1b2aad6 into main Aug 13, 2025
19 checks passed
@DHowett DHowett deleted the dev/cazamor/ssh-generator-folder branch August 13, 2025 22:43
@akulbe
Copy link

akulbe commented Aug 14, 2025

🙌🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide SSH profiles in a folder by default

4 participants