-
Notifications
You must be signed in to change notification settings - Fork 53
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
🧪 [Experiment] TransitionHelper #354
🧪 [Experiment] TransitionHelper #354
Conversation
Error from CI:
Will have to investigate what this is and what this means to fix. |
Found and added explicit details on what we saw in the WindowsAppSDK with ImageBrush on the WinUI repo here: microsoft/microsoft-ui-xaml#7809 (comment) |
CI issue, this was here before migration:
Also need the single project head to not copy over the wasm head (we should probably try and auto-detect this) |
f2dc018
to
9b60883
Compare
@niels9001 @Arlodotexe should be rebased and ready to go now, filed an issue for the disposable problem and added to ignore for project, so hopefully should build now. Let's get it in, and then @niels9001 you can add a smaller sample later after? |
|
||
<!-- TODO: Putting here as seems to get flagged on different partials, need to deal with TokenSource being disposible --> | ||
<!-- See: https://github.com/CommunityToolkit/Labs-Windows/issues/407 --> | ||
<NoWarn>CA1001</NoWarn> |
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.
I'm confused as to why this didn't work...
D:\a\Labs-Windows\Labs-Windows\components\TransitionHelper\src\TransitionHelper.Animation.cs(30,29): error CA1001: Type 'TransitionHelper' owns disposable field(s) '_currentAnimationCancellationTokenSource' but is not disposable [D:\a\Labs-Windows\Labs-Windows\components\TransitionHelper\src\CommunityToolkit.Labs.WinUI.TransitionHelper.csproj]
@Arlodotexe any thoughts?
I did it here as the CI flags it in the partial TransitionHelper.Animation.cs
file, but locally it flags it on the TransitionHelper.Logic.cs
file... 😟
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.
Maybe try <NoWarn>$(NoWarn);CA1001</NoWarn>
? Could be overwritten in another place as well.
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.
@Arlodotexe just looked, we have a bunch of places in the Tooling props which aren't doing this:
I'll test here if this resolves this issue, but may need a PR on the tooling for this too then.
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.
Ah, didn't realize this PR wasn't updated still with the tooling module change, pushed a test up since it's all in the same branch, if that resolves, I'll copy them over to the tooling submodule, get that updated, and then update this PR to use that before we merge.
Ugh, won't run with merge conflict, pushed to this repo so I could run action independently for now here: https://github.com/CommunityToolkit/Labs-Windows/actions/runs/4546660046 |
Hmm, getting some error about the Owl image from the Shimmer experiment... that's weird.
But I think that means that warning thing helped, so will open a tooling PR for that, so we can update this one on top of the latest main. |
Submodule first step here: CommunityToolkit/Tooling-Windows-Submodule#38 |
…sCommunityToolkit#4338 (Still not compiling)
…ing for UWP and WinUI 3
… WinAppSDK issue with image disappearing TODO: Should investigate a minimal repro to file against the WinAppSDK
Update/fix namespace for building
3c4ef88
to
0b0e1fd
Compare
0b0e1fd
to
9fc3ca8
Compare
Figured out what the issue is, filed CommunityToolkit/Tooling-Windows-Submodule#40 for tracking. Will work-around the issue for now and rebuild. |
Port of PR CommunityToolkit/WindowsCommunityToolkit#4338
Discussion: #353
This PR brings over @HHChaos's
TransitionHelper
component from the Main Toolkit into labs. It's a set of helpers for morphing controls between one another on the same page, see example here (speaks better than words):LabsTransitionHelper.mp4
Only setup for UWP/WinAppSDK. Uses Composition APIs, so not going to work on Uno Platform atm.
TODO