-
Notifications
You must be signed in to change notification settings - Fork 129
[Converters] Adding updated samples #138
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
Conversation
|
Weird different test failure: Reran job |
|
@niels9001 realizing that the color converter directly throwing an exception on WASDK is going to mean we can't load any of the samples on this page in our sample app as it just takes down the app. That's not really good... 😋 |
|
I'm watching @michael-hawker's stream. |
|
@niels9001 for the We should update the comments on the classes and the documentation here as such. For the dynamic scenario the Though another solution may be able to be an x:Bind function that takes the |
michael-hawker
left a comment
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.
Hey @niels9001 great job, love the micro samples. They're looking really good!
Have a few comments for improvements/nits and additions for a couple of missing ones. Also think I addressed your comments, and I have some fixes for some bugs I'm pushing to the tooling submodule, as I had issues testing/trying some things out.
components/Converters/samples/BoolToVisibilityConverterSample.xaml
Outdated
Show resolved
Hide resolved
components/Converters/samples/DoubleToVisibilityConverterSample.xaml
Outdated
Show resolved
Hide resolved
components/Converters/samples/CollectionVisibilityConverterSample.xaml
Outdated
Show resolved
Hide resolved
components/Converters/samples/StringVisibilityConverterSample.xaml
Outdated
Show resolved
Hide resolved
|
Opened CommunityToolkit/Tooling-Windows-Submodule#99 to fix the issue with the Converter reference which prevents modifying the converter code and testing it in the repo (as the Sample app instead always pulls from the NuGet package code instead of the local source). |
Aah, good catch :-)! Yes, let's get that merged in so we can validate the change to the I think I addressed most of the feedback - let me know what you think! |
michael-hawker
left a comment
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.
Tested everything. Only things that don't seem to work well are the Color and Type converters on WASM, not sure why... I guess ColorPicker isn't supported on Uno? Not sure what's up with the types though there...
Other than that it's just waiting for WASDK to support the missing API for the Color Converter
|
Hmm, conflict with tooling submodule pointer, going to rebase locally... |
bb42368 to
b4e6015
Compare
|
Hmmm... @Arlodotexe you see this before? |
|
Actually probably has to do with the changes to the submodule and the Converters package... we do the same build in the Tooling repo though, but there's more components here... (including the source). Maybe missed something, will investigate locally. |
|
Hmm, all three heads built fine locally for the generate all solution, so seems something specific to linux build... |
|
Rerunning the linux build, I tried locally on windows with the same build command and it was fine:
|
|
#152 is good now, so once that's merged we can get this cleaned-up/updated and in! |
Still not practical example, but it works 🤷
b6081df to
00d36c1
Compare
|
Rebased on |
Known issues:
@michael-hawker Would love to get your feedback on these samples - wanted to keep them as simple as possible to let devs quickly copy-and-paste what they need vs. complex use cases - especially since Converters are pretty straightforward to work with?