[PR #8090] Apply Enum Mappings to most enum settings #27097

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

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

State: closed
Merged: No


Summary of the Pull Request

Builds off of #8086 to introduce enum mappings for most of the remaining enum settings. This excludes the following two settings:

  • FontWeight: we accept a number and an enum. So we'll probably need some special logic for this one (Kayla's working on this one)
  • BackgroundImageAlignment: this is one setting stored as two enums. We'll need some special logic here too.

This also removes "Globals" files, a relic from the hackathon. We decided to split this up into all the other pages, and forgot to remove this at some point.

References

#1564 - Settings UI Epic

Validation Steps Performed

These become validated when we load the page with setting on it. Since there's a known issue right now that we can't load every available page (yet), I've only been able to validate that this works on the loadable pages.

If a setting was added, but we didn't update the resw properly, we get an error at runtime. So this helps a ton with debugging!

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8090 **State:** closed **Merged:** No --- ## Summary of the Pull Request Builds off of #8086 to introduce enum mappings for most of the remaining enum settings. This excludes the following two settings: - FontWeight: we accept a number and an enum. So we'll probably need some special logic for this one (Kayla's working on this one) - BackgroundImageAlignment: this is one setting stored as two enums. We'll need some special logic here too. This also removes "Globals" files, a relic from the hackathon. We decided to split this up into all the other pages, and forgot to remove this at some point. ## References #1564 - Settings UI Epic ## Validation Steps Performed These become validated when we load the page with setting on it. Since there's a known issue right now that we can't load every available page (yet), I've only been able to validate that this works on the loadable pages. If a setting was added, but we didn't update the resw properly, we get an error at runtime. So this helps a ton with debugging!
claunia added the pull-request label 2026-01-31 09:19:58 +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#27097