[PR #8348] Hook up the Save and Reset buttons #27178

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Adds an event handler for the Save and Reset buttons. "Save" writes the settings to disk using the API introduced by #8018. "Reset" simply overwrites the settingsClone (what the Settings UI reads from) with settingsSource (provided by TermApp on Settings UI initialization).

References

#1564 - Settings UI

Validation Steps Performed

The following scenarios were tested and are verified to work properly:

  • Change default profile in SUI, then save/reset
  • Hide a profile, then save/reset
  • Modifying the settings.json directly propagates changes to SUI
  • "Reset" updates the current page
**Original Pull Request:** https://github.com/microsoft/terminal/pull/8348 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adds an event handler for the Save and Reset buttons. "Save" writes the settings to disk using the API introduced by #8018. "Reset" simply overwrites the `settingsClone` (what the Settings UI reads from) with `settingsSource` (provided by TermApp on Settings UI initialization). ## References #1564 - Settings UI ## Validation Steps Performed The following scenarios were tested and are verified to work properly: - Change default profile in SUI, then save/reset - Hide a profile, then save/reset - Modifying the settings.json directly propagates changes to SUI - "Reset" updates the current page
claunia added the pull-request label 2026-01-31 09:20:27 +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#27178