-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Code Quality: WCT Settings Control #13045
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
Code Quality: WCT Settings Control #13045
Conversation
Can you share some numbers 👀 |
I know that CommunityToolkit Labs already has a control ready for that matter here |
This is experimental control and so I adopted. we can replace once that control become stable. |
Wasn't this supposed to be a code quality change? What types of UI changes are being introduced? |
Like Windows 11 Settings controlls. full emphasizing the card's border on hovering. |
That's great, looking forward to reviewing this! |
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.
Looking good, @0x5bfa can you remove the old control in this PR so that we don't have unnecessary duplication?
@0x5bfa check the latest comment from Niels about the "experimental" status, or CommunityToolkit/Windows#116 |
@yaira2 Ready for review |
PowerToys uses them because very he introduced them. besides, we dont wanna add extra packages and its still experimental, but once wct published 8.0 we can switch out and remove our own. the main point is not to add extra packages. not that we would not use beta or in dev controls (because i copied them😶). |
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.
The specs for this change is to swap out the out control for the new one. I'm seeing a lot of unrelated changes here that are out of scope.
Just converted those ViewModels into IoC. those few lines are unrelated? i will revert again then |
I'll have to take a closer look |
…om/0x5bfa/Files into 5bfa/Introduce-NewSettingsControls
Ready for merging. |
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.
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.
They should have consistency with other settings controls. But I can apply different design template.
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.
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.
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.
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.
If you dont need this threshold I can set it 0.
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.
Is there a reason to keep the threshold?
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.
…om/0x5bfa/Files into 5bfa/Introduce-NewSettingsControls
Fixed. |
We dont need to add our own code because WCT just released 8.0 few days ago. |
Feature: Settings Controls UI Refresh
Motivation & Context
PR Checklist
Related Code Quality: Refactored the settings controls #12261
Screenshots
None