[PR #8070] Store and expose hidden profiles #27087

Open
opened 2026-01-31 09:19:55 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/8070

State: closed
Merged: Yes


Summary of the Pull Request

This PR replaces CascadiaSettings::_profiles with...

  • _allProfiles: the list of all available profiles in the settings model (i.e. settings.json, dynamic profiles, etc...)
  • _activeProfiles: the list of all non-hidden profiles (used for the new tab dropdown)

References

#8018: maintaining a list of all profiles allows us to serialize hidden profiles
#1564: Settings UI can link to AllProfiles() instead of ActiveProfiles() to expose hidden profiles

PR Checklist

Validation Steps Performed

Deploy and testing succeeded

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8070 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This PR replaces `CascadiaSettings::_profiles` with... - `_allProfiles`: the list of all available profiles in the settings model (i.e. settings.json, dynamic profiles, etc...) - `_activeProfiles`: the list of all non-hidden profiles (used for the new tab dropdown) ## References #8018: maintaining a list of all profiles allows us to serialize hidden profiles #1564: Settings UI can link to `AllProfiles()` instead of `ActiveProfiles()` to expose hidden profiles ## PR Checklist * [x] Closes #4139 * [x] Tests added/passed ## Validation Steps Performed Deploy and testing succeeded
claunia added the pull-request label 2026-01-31 09:19:55 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27087