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

Fix some issues with the launch parameters in the SUI #14186

Merged
2 commits merged into from
Oct 11, 2022

Conversation

PankajBhojwani
Copy link
Contributor

@PankajBhojwani PankajBhojwani commented Oct 11, 2022

Addressing post-hoc comments on the launch parameters expander in the SUI (added in #13605)

  • Use more contextually appropriate strings (Centered instead of On / Off)
  • Don't emit an extra NotifyChanges

References #13605

@DHowett
Copy link
Member

DHowett commented Oct 11, 2022

@msftbot merge this in 10 minutes

@ghost ghost added the AutoMerge Marked for automatic merge by the bot when requirements are met label Oct 11, 2022
@ghost
Copy link

ghost commented Oct 11, 2022

Hello @DHowett!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Tue, 11 Oct 2022 19:45:15 GMT, which is in 10 minutes

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@DHowett DHowett added the Needs-Second It's a PR that needs another sign-off label Oct 11, 2022
Comment on lines +61 to +62
// Append the CenterOnLaunch part
result = CenterOnLaunch() ? winrt::hstring{ fmt::format(L"{}, {}", result, RS_(L"Globals_CenterOnLaunchCentered")) } : result;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW I feel like this would be more readable if this was a regular if condition.

@ghost ghost merged commit 6803cfb into main Oct 11, 2022
@ghost ghost deleted the dev/pabhoj/launch_params_fix branch October 11, 2022 23:28
@ghost
Copy link

ghost commented Jan 24, 2023

🎉Windows Terminal Preview v1.17.1023 has been released which incorporates this pull request.:tada:

Handy links:

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoMerge Marked for automatic merge by the bot when requirements are met Needs-Second It's a PR that needs another sign-off
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants