Skip to content

Fixed incorrect paths for pipeline sample resources #4280

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

Conversation

Sergio0694
Copy link
Member

Fixes #4275

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Sample app changes

What is the current behavior?

The pipeline samples are currently broken. This is not due to a bug in the pipeline APIs themselves, but just by the fact that following #4179, the DropShadowPanel/Unicorn.png resource was moved to Shadows/Unicorn.png, but those other pipeline sample pages weren't updated. This caused that image loading to fail, and the whole pipeline brush to stop working.

What is the new behavior?

Updated the resource path in those sample pages.

Screenshot

image

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • New component
    • Pull Request has been submitted to the documentation repository instructions. Link:
    • Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)
    • If control, added to Visual Studio Design project
  • 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

@ghost
Copy link

ghost commented Sep 27, 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 a review from Rosuavio September 27, 2021 11:50
@ghost ghost added bug 🐛 An unexpected issue that highlights incorrect behavior priority 🚩 labels Sep 27, 2021
Copy link
Contributor

@XAML-Knight XAML-Knight left a comment

Choose a reason for hiding this comment

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

Looks good - let's go ahead and reanimate the T-Rex, as well.

@ghost
Copy link

ghost commented Sep 28, 2021

This PR has been marked as "needs attention 👋" and awaiting a response from the team.

Copy link
Contributor

@XAML-Knight XAML-Knight left a comment

Choose a reason for hiding this comment

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

RAWR!!

@michael-hawker michael-hawker added this to the 7.1.1 milestone Oct 5, 2021
Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @Sergio0694. I guess an interesting behavior is that if one path is wrong the whole brush fails to load I guess? I think that's why I thought something more might be going on and didn't think of just the unicorn/trex paths changing.

Wonder if we'd want to change this behavior in the future?

@michael-hawker michael-hawker merged commit e471616 into CommunityToolkit:main Oct 6, 2021
@Sergio0694 Sergio0694 deleted the bugfix/pipeline-samples branch October 6, 2021 23:07
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.

PipelineBrush samples are not working
3 participants