Skip to content

Match the RequestedTheme of our TeachingTips to the set theme#9732

Merged
2 commits merged intomainfrom
dev/migrie/b/9717-toast-theming
Apr 7, 2021
Merged

Match the RequestedTheme of our TeachingTips to the set theme#9732
2 commits merged intomainfrom
dev/migrie/b/9717-toast-theming

Conversation

@zadjii-msft
Copy link
Member

@zadjii-msft zadjii-msft commented Apr 6, 2021

Summary of the Pull Request

Make sure that the window renamer and other toasts follow the requested app theme. We accomplish this by doing something similar to what we do with ContentDialogs. Since TeachingTips aren't in the same XAML root, we have to traverse the entire tree upwards setting RequestedTheme. If we don't, then we'll update the background color of the TeachingTip, but not the text inside it.

References

PR Checklist

Validation Steps Performed

Tested with system theme light & dark, and theme set to `light, dark, and unset, and verified that they worked as expected.

@ghost ghost added Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal. labels Apr 6, 2021
Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

I hate that this is necessary, but I appreciate you figuringit out

Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

I hate that this is necessary, but I appreciate you figuringit out

@DHowett
Copy link
Member

DHowett commented Apr 6, 2021

@msftbot merge this in 7 minutes

@ghost ghost added the AutoMerge Marked for automatic merge by the bot when requirements are met label Apr 6, 2021
@ghost
Copy link

ghost commented Apr 6, 2021

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, 06 Apr 2021 21:37:56 GMT, which is in 7 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
Copy link
Member

DHowett commented Apr 6, 2021

Oh, it was this one with the conflict

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-UserInterface Issues pertaining to the user interface of the Console or Terminal AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BASH] Window Rename TeachingTip does not handle mixed system + terminal theme

3 participants