Skip to content

Fixed animation sample links and icons #3827

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

Closed

Conversation

Sergio0694
Copy link
Member

Follow up for #3824

PR Type

What kind of change does this PR introduce?

  • Sample app changes

What is the current behavior?

No images for some animation samples, and broken links.

What is the new behavior?

Fixed the issues above.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Pull Request has been submitted to the documentation repository instructions. Link:
  • Sample in sample app has been added / updated (for bug fixes / features)
  • New major technical changes in the toolkit have or will be added to the Wiki e.g. build changes, source generators, testing infrastructure, sample creation changes, etc...
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • Contains NO breaking changes

michael-hawker and others added 9 commits March 9, 2021 16:43
Since optimizing SwitchPresenter, the delayed loading being in another control's template was causing an issue where the cases weren't available to evaluate when SwitchPresenter was ready. Since we no longer listened to all downstream changes in SwitchPresenter this meant we never evaluated once the parent control was loaded. Added a couple of cases to ensure that once we're fully loaded we can evaluate again to ensure we pick a case. This also covers a case where if somehow the entire collection gets swapped out later.

Added some extra checks ahead of the evaluate cases to break out early in case we don't need to update the Visual Tree.
Fix issue with version history display on About page
Add Wiki Link
Add MVVM Toolkit entry to sample for docs
Clean-up ColorPickerPage sample
Remove Custom NavigationView template, it should support everything we need now
Remove workaround for WinUI 2.4 bug
Add new workaround for another issue...
Have docs in release mode look at live branch of last shipped docs.
Can't add examples back as we haven't rebuilt the Graph Controls library yet.
@ghost
Copy link

ghost commented Mar 10, 2021

Thanks Sergio0694 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 🙌

@ghost ghost requested review from michael-hawker, azchohfi, Kyaa-dost and Rosuavio March 10, 2021 20:34
"About": "Activity chaining Actions from the Behaviors package into an Animation schedule.",
"CodeUrl": "https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Behaviors/Animations",
"CodeFile": "/SamplePages/Animations/Activities/InvokeActionsActivityCode.bind",
"XamlCodeFile": "/SamplePages/Animations/Activities/InvokeActionsActivity.bind",
"DocumentationUrl": "https://raw.githubusercontent.com/MicrosoftDocs/WindowsCommunityToolkitDocs/master/docs/animations/Fade.md"
"DocumentationUrl": "https://raw.githubusercontent.com/MicrosoftDocs/WindowsCommunityToolkitDocs/master/docs/animations/AnimationSet.md"
},
{
"Name": "Fade",
Copy link
Member

Choose a reason for hiding this comment

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

The fade and other behavior animations docs are out-dated and redirect, eh? So we should just point directly to the redirected recommended doc so that it'll appear in the Sample App alongside the sample?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, right, fixed in 7a0fda9 🙂

@michael-hawker
Copy link
Member

Thanks @Sergio0694! I'm just going to merge this directly into my branch for my own tracking here: #3824.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants