[PR #8149] List all profiles in the SUI Navigation View #27120

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

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

State: closed
Merged: Yes


Unfortunately, to my knowledge, we're not able to have a mix of
XAML-declared NavigationViewItems alongside a templated set of
NavViewItems. So, in order to place the Profiles in the NavView, I
created the controls in code-behind and appended them to the end of the
NavView. Then each Profile navigates to the Profiles page and the
OnNavigatedTo handler takes care of initializing the page with the given
Profile. Also as part of showing Profile icons, I moved the
IconPathConverter to TSM.

A couple things not yet implemented in this PR (will note them on the
board):

  • Not all Profile settings are fully hooked up yet (all radio buttons,
    checkboxes, and all settings in Advanced pivot are hooked up)
  • If a name or icon is changed through the Profiles page, it won't
    update in the NavView. Removing a Profile won't update the NavView.

profilesnav

References #1564

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8149 **State:** closed **Merged:** Yes --- Unfortunately, to my knowledge, we're not able to have a mix of XAML-declared NavigationViewItems alongside a templated set of NavViewItems. So, in order to place the Profiles in the NavView, I created the controls in code-behind and appended them to the end of the NavView. Then each Profile navigates to the Profiles page and the OnNavigatedTo handler takes care of initializing the page with the given Profile. Also as part of showing Profile icons, I moved the IconPathConverter to TSM. A couple things not yet implemented in this PR (will note them on the board): - Not all Profile settings are fully hooked up yet (all radio buttons, checkboxes, and all settings in Advanced pivot are hooked up) - If a name or icon is changed through the Profiles page, it won't update in the NavView. Removing a Profile won't update the NavView. ![profilesnav](https://user-images.githubusercontent.com/57155886/98171352-74530600-1ea4-11eb-900f-fc17634eacb5.gif) References #1564
claunia added the pull-request label 2026-01-31 09:20:08 +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#27120