[PR #18633] Add display name and icon to SUI extensions page #31575

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Adds some polish to the Extensions page in the Settings UI. This includes:

  • For app extensions, extract the display name and icon from the extension package and display it in the UI
  • For dynamic profile generators, add a display name and icon and display it in the UI
  • If possible, prefer to use the display name for breadcrumbs other UI

References and Relevant Issues

Targets #18559

Detailed Description of the Pull Request / Additional comments

  • Settings Model Changes:
    • adds a DisplayName and Icon to IDynamicProfileGenerator
    • extract the DisplayName and Icon from app extensions and use them
    • ExtensionPackage is a new WinRT class to package a bunch of FragmentSettings together
  • Editor changes - view models:
    • Use ExtensionPackages rather than dynamically adding/removing FragmentSettings contents
    • Replace CurrentExtensionSource with CurrentExtensionPackage
  • Editor changes - views:
    • ExtensionPackageTemplateSelector is used to display ExtensionPackages with metadata vs simple ones that just have a source
    • improve accessibility names displayed and read out

Validation

Keyboard navigation feels right
Screen reader reads all info on screen properly
Accessibility Insights FastPass found no issues
"Discard changes" retains subpage, but removes any changes

**Original Pull Request:** https://github.com/microsoft/terminal/pull/18633 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adds some polish to the Extensions page in the Settings UI. This includes: - For app extensions, extract the display name and icon from the extension package and display it in the UI - For dynamic profile generators, add a display name and icon and display it in the UI - If possible, prefer to use the display name for breadcrumbs other UI ## References and Relevant Issues Targets #18559 ## Detailed Description of the Pull Request / Additional comments - Settings Model Changes: - adds a `DisplayName` and `Icon` to `IDynamicProfileGenerator` - extract the `DisplayName` and `Icon` from app extensions and use them - `ExtensionPackage` is a new WinRT class to package a bunch of `FragmentSettings` together - Editor changes - view models: - Use `ExtensionPackage`s rather than dynamically adding/removing `FragmentSetting`s contents - Replace `CurrentExtensionSource` with `CurrentExtensionPackage` - Editor changes - views: - `ExtensionPackageTemplateSelector` is used to display `ExtensionPackage`s with metadata vs simple ones that just have a source - improve accessibility names displayed and read out ## Validation ✅ Keyboard navigation feels right ✅ Screen reader reads all info on screen properly ✅ Accessibility Insights FastPass found no issues ✅ "Discard changes" retains subpage, but removes any changes
claunia added the pull-request label 2026-01-31 09:48:07 +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#31575