Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a different schema for each branding #15856

Merged
merged 2 commits into from Aug 22, 2023

Conversation

DHowett
Copy link
Member

@DHowett DHowett commented Aug 21, 2023

Switch the schema depending on the branding we're being built for

Ever since we started writing the entire settings file out ourselves,
we've had the opportunity to control which schema it uses.

This is a quality-of-life improvement for Preview users, and might make
life easier for Dev users as well.

For Debug builds, it even switches over to a local file:// path to
the schema in the source directory!

Closes #6601

Ever since we started writing the entire settings file out ourselves,
we've had the opportunity to control which schema it uses.

This is a quality-of-life improvement for Preview users, and might make
life easier for Dev users as well.

One thing to consider is whether, if building Terminal in Debug+Dev
mode, we should substitute in a `file:///` path. That would make the
_local_ dev experience way cooler and cost us practically nothing.
@DHowett DHowett changed the title WIP: schema per branding Use a different schema for each branding Aug 21, 2023
@DHowett DHowett added this to To Cherry Pick in 1.18 Servicing Pipeline via automation Aug 21, 2023
@DHowett DHowett marked this pull request as ready for review August 21, 2023 19:04
@DHowett DHowett added the Needs-Discussion Something that requires a team discussion before we can proceed label Aug 21, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Docs It's a documentation issue that really should be on MicrosoftDocs/Console-Docs Area-Schema Things that have to do with the json schema. Priority-3 A description (P3) Product-Terminal The new Windows Terminal. labels Aug 21, 2023
@zadjii-msft zadjii-msft removed the Needs-Discussion Something that requires a team discussion before we can proceed label Aug 21, 2023
@zadjii-msft zadjii-msft merged commit 333fcd8 into main Aug 22, 2023
17 checks passed
@zadjii-msft zadjii-msft deleted the dev/duhowett/schema-per-branding branch August 22, 2023 10:39
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.18 Servicing Pipeline Aug 30, 2023
DHowett added a commit that referenced this pull request Aug 30, 2023
Switch the schema depending on the branding we're being built for

Ever since we started writing the entire settings file out ourselves,
we've had the opportunity to control which schema it uses.

This is a quality-of-life improvement for Preview users, and might make
life easier for Dev users as well.

For Debug builds, it even switches over to a local `file://` path to
the schema in the source directory!

Closes #6601

(cherry picked from commit 333fcd8)
Service-Card-Id: 90281511
Service-Version: 1.18
@lhecker lhecker moved this from Cherry Picked to Validated in 1.18 Servicing Pipeline Sep 25, 2023
@DHowett DHowett moved this from Validated to Shipped in 1.18 Servicing Pipeline Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Schema Things that have to do with the json schema. Issue-Docs It's a documentation issue that really should be on MicrosoftDocs/Console-Docs Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Projects
Development

Successfully merging this pull request may close these issues.

Terminal Preview settings file references the Stable schema
3 participants