Skip to content

Sample app updates for 7.0 #3824

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

Merged
24 commits merged into from
Mar 11, 2021
Merged

Conversation

michael-hawker
Copy link
Member

@michael-hawker michael-hawker commented Mar 10, 2021

Fixes lots

Smorgasbord of changes found or related to updating the Sample App for 7.0 shipping.

  • Fixes an issue with SwitchPresenter causing ColorPicker to break (Loading order for evaluating cases)
  • Fixes an issue on About page displaying preview version notes
  • Updates the Landing Page Links
  • Adds MVVM Toolkit Docs
  • Adds Wiki Link
  • Cleans up some XAML only samples
  • Applies XAML Styler

TODO

  • Fix Home Button not working
  • Fix new short URLs for docs not having https://docs.microsoft.com/ to add pre-cursor
  • Should pin github urls to v7.0.0 in release mode, kind of like what we do for docs???
  • Update rest of doc links
    • Update paths in CodeUrl
    • Update paths to docs
    • Check animation sample links
  • Add Animation's sample Image
  • Graph Controls Docs at least (samples on ice still)
  • Build sample app in release mode for release

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
@ghost
Copy link

ghost commented Mar 10, 2021

Thanks michael-hawker 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 azchohfi, Kyaa-dost and Rosuavio March 10, 2021 01:55
Copy link
Member

@Sergio0694 Sergio0694 left a comment

Choose a reason for hiding this comment

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

The ColorPicker works great now, looks good to me! 🚀

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.
@Rosuavio Rosuavio mentioned this pull request Mar 10, 2021
8 tasks
@michael-hawker michael-hawker marked this pull request as ready for review March 10, 2021 22:49
@michael-hawker
Copy link
Member Author

This should be good to go now? Just need to do some final validation in release mode with the final docs. But think everything else is updated for merging back into the repo, the final part is still manual for me offline.

@ghost
Copy link

ghost commented Mar 11, 2021

Hello @michael-hawker!

Because this pull request has the auto merge :zap: label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

This pull request was closed.
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.

4 participants