-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix ColorPickerButton SelectedColor bug #4372
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 ColorPickerButton SelectedColor bug #4372
Conversation
Update internal ColorPicker Color when ColorPickerButton SelectedColor changes
Thanks Marv51 for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR approved.
If you're interested in authoring a unit test, take a look at a similar test (UITests\UITests.Tests.Shared\RichSuggestBoxTest.cs
); UI test guidance here.
Hi @XAML-Knight, thanks for pointing me in the right direction to get started with the UITest. I added a test to automate the manual test I described in the PR description. I found the "Accessibility Insights for Windows" tool very useful to inspect the UI, it might be worth mentioning on that wiki page. |
Co-authored-by: XAML-Knight <86266896+XAML-Knight@users.noreply.github.com>
This PR has been marked as "needs attention 👋" and awaiting a response from the team. |
Any update on this? Is there anything else I need to do? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think this looks good. @Arlodotexe want to take a quick look to?
Looks good to me! |
Sounds like this was approved by everyone? So could someone with write-access merge this or should we loop in anyone else? |
Sorry @Marv51 this should have gotten merged. Doing it now. |
Fixes #4367
Update internal ColorPicker Color when ColorPickerButton SelectedColor changes
PR Type
What kind of change does this PR introduce?
Bugfix
What is the current behavior?
When ColorPickerButton.SelectedColor Property changes, the changed color is not the one in the colorpicker when the user clicks on the ColorPickerButton
What is the new behavior?
SelectedColor gets propagated to the internal colorpicker to fix this bug.
PR Checklist
Please check if your PR fulfills the following requirements:
Other information
I am unfamiliar with all the testing infrastructure you have in place, so I just created little sample app for myself with the following two snippets. Should I add those somewhere?