[PR #8136] Bind default profile global setting #27109

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

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

State: closed
Merged: Yes


Summary of the Pull Request

This binds the "Default Profile" global setting in the Settings UI.

The combo box needs a list of string values, so I convert the list of profiles into an observable list of string values for the combo box. We specifically try to use the index to avoid running into the problem of two profiles potentially having the same name.

References

#1564 - Epic for Settings UI

Validation Steps Performed

See attached gif. This tests...

  • the list of profiles is shown
  • the starting profile is selected
  • selecting a new profile changes the default profile

DefaultProfileBinding

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8136 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This binds the "Default Profile" global setting in the Settings UI. The combo box needs a list of string values, so I convert the list of profiles into an observable list of string values for the combo box. We specifically try to use the index to avoid running into the problem of two profiles potentially having the same name. ## References #1564 - Epic for Settings UI ## Validation Steps Performed See attached gif. This tests... - the list of profiles is shown - the starting profile is selected - selecting a new profile changes the default profile ![DefaultProfileBinding](https://user-images.githubusercontent.com/11050425/97920203-f8bf5080-1d0d-11eb-80f6-1253ce8bb455.gif)
claunia added the pull-request label 2026-01-31 09:20:04 +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#27109