[PR #11853] Apply MVVM for global settings in SUI #28771

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

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

State: closed
Merged: No


Summary of the Pull Request

Introduces and uses GlobalSettingsViewModel as the view model for global settings in the settings UI. This makes it so that we don't actually store the XXXNavigationState on the page objects. Instead, we store the view model. The view model also stores some additional useful information like enum entry lists, current enum entry values, and getters for the settings model.

References

#9207 - Apply MVVM

Detailed Description of the Pull Request / Additional comments

Really this just involved me moving stuff into GlobalSettingsViewModel. There should be no change in functionality.

Validation Steps Performed

Changed some global settings and saved/discarded changes. Verified correct behavior from that.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/11853 **State:** closed **Merged:** No --- ## Summary of the Pull Request Introduces and uses `GlobalSettingsViewModel` as the view model for global settings in the settings UI. This makes it so that we don't actually store the `XXXNavigationState` on the page objects. Instead, we store the view model. The view model also stores some additional useful information like enum entry lists, current enum entry values, and getters for the settings model. ## References #9207 - Apply MVVM ## Detailed Description of the Pull Request / Additional comments Really this just involved me moving stuff into `GlobalSettingsViewModel`. There should be no change in functionality. ## Validation Steps Performed Changed some global settings and saved/discarded changes. Verified correct behavior from that.
claunia added the pull-request label 2026-01-31 09:30:39 +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#28771